home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OpenStep (Enterprise)
/
OpenStepENTCD.toast
/
OEDEV
/
DEV.Z
/
calcdial.h
< prev
next >
Wrap
C/C++ Source or Header
|
1995-10-16
|
1KB
|
52 lines
// calcdial.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CCalcDialog dialog
class CCalcDialog : public CDialog
{
// Construction
public:
CCalcDialog(CWnd* pParent = NULL); // standard constructor
~CCalcDialog(); // standard destructor
// Dialog Data
//{{AFX_DATA(CCalcDialog)
enum { IDD = IDD_DIALOG1 };
CString m_Display;
//}}AFX_DATA
BOOL m_decimalEntered;
double m_fractionMultiplier;
BOOL m_wasValueEntered;
double m_enteredValue;
double m_result;
BOOL m_lastKeyWasOperator;
void *calcObj;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCalcDialog)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CCalcDialog)
afx_msg void OnDigit(UINT);
afx_msg void OnFunction(UINT);
afx_msg void OnClear(UINT);
afx_msg void OnEquals();
afx_msg void OnChangeSign();
afx_msg void OnDecimal();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
void DisplayValue(double);
};