Public Types | |
| enum | { IDD = IDD_SLIDERCONTROLS_DIALOG } |
Public Member Functions | |
| CTutorialDlg (CWnd *pParent=NULL) | |
Protected Member Functions | |
| virtual void | DoDataExchange (CDataExchange *pDX) |
| virtual BOOL | OnInitDialog () |
| afx_msg void | OnPaint () |
| afx_msg void | OnBnClickedBtnAdd () |
| afx_msg void | OnHScroll (UINT nSBCode, UINT nPos, CScrollBar *pScrollBar) |
| afx_msg void | OnVScroll (UINT nSBCode, UINT nPos, CScrollBar *pScrollBar) |
Private Attributes | |
| int | m_OkCount |
| CString | m_EchoText |
| CString | m_HSliderEcho |
| CString | m_VSliderEcho |
| CSliderCtrl | m_VSliderBar |
| CSliderCtrl | m_HSliderBar |
| HICON | m_hIcon |
|
|
The IDD enum is a common technique in MFC to associate a dialog with a resource that you edit in the dialog editor |
|
|
The virtual DoDataExchange is an MFC method for synchronizing values in this class with their corresponding controls on the dialog. See MSDN documentation for more information |
|
|
Called immediately after a dialog is created, but before it is displayed. This is where all of the control initialization usually occurs. This is also where the graphics window is set up |
|
|
Called when this dialog receives a WM_PAINT message (event) The MFC wizard adds code to paint properly if this dialog is minimized to the taskbar |
|
|
Called when this dialog receives button click message from the add button |
|
||||||||||||||||
|
Called when this dialog receives slider scroll messages from the slider controls Horizontal Scroll |
|
||||||||||||||||
|
Called when this dialog receives slider scroll messages from the slider controls Vertical Scroll |
1.3.1