Public Types | |
| enum | { IDD = IDD_SLIDERCTRLECHO_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 | OnTimer (UINT nIDEvent) |
| afx_msg void | OnLButtonDown (UINT nFlags, CPoint point) |
| afx_msg void | OnMouseMove (UINT nFlags, CPoint point) |
| afx_msg void | OnRButtonDown (UINT nFlags, CPoint point) |
| afx_msg void | OnBnClickedBtnAdd () |
| afx_msg void | OnBnClickedTimerControlSliders () |
Private Attributes | |
| int | m_Seconds |
| int | m_OkCount |
| CString | m_EchoText |
| CSliderCtrlWithEcho | m_VSliderBar |
| CSliderCtrlWithEcho | m_HSliderBar |
| CString | m_MouseEcho |
| CString | m_TimerEcho |
| BOOL | m_TimerCtrlSliders |
| 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 |
1.3.1