home *** CD-ROM | disk | FTP | other *** search
- #if !defined(AFX_BUTTONDLG_H__D6D63ECC_3EA4_11D3_A911_00104B9A4FD0__INCLUDED_)
- #define AFX_BUTTONDLG_H__D6D63ECC_3EA4_11D3_A911_00104B9A4FD0__INCLUDED_
-
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // ButtonDlg.h : header file
- // High Tech BASIC, Copyright (C) TransEra Corp 1999, All Rights Reserved.
-
- #define MAXBUTTON 10
- #define MAXOPTION 3
-
- enum OPTION
- { modal = 1,
- variable,
- signal
- };
-
- /////////////////////////////////////////////////////////////////////////////
- // ButtonDlg dialog
-
- class ButtonDlg : public CDialog
- {
- // Construction
- public:
- //short * m_pPress; // pointer to Basic memory for showing user input
- //CString m_sBtnText[MAXBUTTON]; // button text
- //CString m_sStaticText; // static control text
- //CString m_sTitle; // window title text
- //short m_option; // type option
- //long m_width; // button width
- //short m_BtnCount; // number of buttons to display
- ButtonDlg(CWnd* pParent = NULL); // standard constructor
-
- // Dialog Data
- //{{AFX_DATA(ButtonDlg)
- enum { IDD = IDD_BTNDLG };
- CButton m_btn[10];
- //}}AFX_DATA
-
-
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(ButtonDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
-
- // Implementation
- protected:
-
- // Generated message map functions
- //{{AFX_MSG(ButtonDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnButton1();
- afx_msg void OnButton10();
- afx_msg void OnButton2();
- afx_msg void OnButton3();
- afx_msg void OnButton4();
- afx_msg void OnButton5();
- afx_msg void OnButton6();
- afx_msg void OnButton7();
- afx_msg void OnButton8();
- afx_msg void OnButton9();
- afx_msg void OnClose();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- void UserAct(short select);
- };
-
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
-
- #endif // !defined(AFX_BUTTONDLG_H__D6D63ECC_3EA4_11D3_A911_00104B9A4FD0__INCLUDED_)
-