Main Page   Compound List   File List   Compound Members  

CTutorialDlg Class Reference

List of all members.

Detailed Description

Main dialog for the sample application. This is created and displayed in the CTutorialApp::InitInstance function.


Public Types

enum  { IDD = IDD_UPDATEGUI_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 OnHScroll (UINT nSBCode, UINT nPos, CScrollBar *pScrollBar)
afx_msg void OnVScroll (UINT nSBCode, UINT nPos, CScrollBar *pScrollBar)
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
CString m_HSliderEcho
CString m_VSliderEcho
CSliderCtrl m_VSliderBar
CSliderCtrl m_HSliderBar
CString m_MouseEcho
CString m_TimerEcho
BOOL m_TimerCtrlSliders
HICON m_hIcon


Member Enumeration Documentation

anonymous enum
 

The IDD enum is a common technique in MFC to associate a dialog with a resource that you edit in the dialog editor


Member Function Documentation

void CTutorialDlg::DoDataExchange CDataExchange *  pDX  )  [protected, virtual]
 

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

BOOL CTutorialDlg::OnInitDialog  )  [protected, virtual]
 

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

void CTutorialDlg::OnPaint  )  [protected]
 

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

void CTutorialDlg::OnHScroll UINT  nSBCode,
UINT  nPos,
CScrollBar *  pScrollBar
[protected]
 

Called when this dialog receives slider scroll messages from the slider controls Horizontal Scroll

void CTutorialDlg::OnVScroll UINT  nSBCode,
UINT  nPos,
CScrollBar *  pScrollBar
[protected]
 

Called when this dialog receives slider scroll messages from the slider controls Vertical Scroll

void CTutorialDlg::OnBnClickedBtnAdd  )  [protected]
 

Called when this dialog receives button click message from the add button


The documentation for this class was generated from the following files:
Generated on Thu Oct 2 02:02:52 2008 for MFC_UpdateGUI by doxygen 1.3.1