home *** CD-ROM | disk | FTP | other *** search
- // mydlg.h : header file
- //
-
- /////////////////////////////////////////////////////////////////////////////
- // CMyDlg dialog
-
- class CMyDlg : public CDialog
- {
- // Construction
- public:
- CMyDlg(CWnd* pParent = NULL); // standard constructor
-
- //////////////////////
- // MY CODE STARTS HERE
- //////////////////////
-
- // Declare data members that are used as
- // the Scroll bars variables.
- int m_ScrollPosition; // Current position
- int m_ScrollMin; // Minimum posistion
- int m_ScrollMax; // Maximum position
-
- ////////////////////
- // MY CODE ENDS HERE
- ////////////////////
-
-
- // Dialog Data
- //{{AFX_DATA(CMyDlg)
- enum { IDD = IDD_DIALOG1 };
- // NOTE: the ClassWizard will add data members here
- //}}AFX_DATA
-
- // Implementation
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
-
- // Generated message map functions
- //{{AFX_MSG(CMyDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
- virtual void OnOK();
- afx_msg void OnEnable();
- afx_msg void OnDisable();
- afx_msg void OnHide();
- afx_msg void OnShow();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
-