CWaitDlg Class Reference

#include <WaitDlg.h>

List of all members.

Public Types

enum  { IDD = IDD_WAITER }

Public Member Functions

UINT StartWaiting (LPCSTR pszMessage, LPTHREAD_START_ROUTINE procWait, BOOL bEnableCancel, LPVOID lpParam1=NULL, LPVOID lpParam2=NULL, LPVOID lpParam3=NULL, LPVOID lpParam4=NULL, LPVOID lpParam5=NULL, BOOL bModal=TRUE)
 CWaitDlg (CWnd *pParent=NULL)

Public Attributes

CProgressCtrl m_wndProgress

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
virtual void OnCancel ()
virtual BOOL OnInitDialog ()
afx_msg void OnTimer (UINT nIDEvent)

Protected Attributes

bool m_bNeedRelease
BOOL m_bCancel
ProcWaitInfo m_info
CString m_strMsg


Detailed Description

Definition at line 25 of file WaitDlg.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
IDD 

Definition at line 35 of file WaitDlg.h.


Constructor & Destructor Documentation

CWaitDlg::CWaitDlg ( CWnd *  pParent = NULL  ) 

Definition at line 16 of file WaitDlg.cpp.


Member Function Documentation

UINT CWaitDlg::StartWaiting ( LPCSTR  pszMessage,
LPTHREAD_START_ROUTINE  procWait,
BOOL  bEnableCancel,
LPVOID  lpParam1 = NULL,
LPVOID  lpParam2 = NULL,
LPVOID  lpParam3 = NULL,
LPVOID  lpParam4 = NULL,
LPVOID  lpParam5 = NULL,
BOOL  bModal = TRUE 
)

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

Definition at line 24 of file WaitDlg.cpp.

References IDC_PROGRESS, and m_wndProgress.

void CWaitDlg::OnCancel (  )  [protected, virtual]

Definition at line 38 of file WaitDlg.cpp.

References ProcWaitInfo::bNeedStop, FALSE, m_info, and TRUE.

BOOL CWaitDlg::OnInitDialog (  )  [protected, virtual]

Definition at line 79 of file WaitDlg.cpp.

References IDC_MESSAGE, L_CANCEL, L_PLEASEWAIT, LS, m_bCancel, m_strMsg, m_wndProgress, NULL, and TRUE.

void CWaitDlg::OnTimer ( UINT  nIDEvent  )  [protected]


Member Data Documentation

CProgressCtrl CWaitDlg::m_wndProgress

Definition at line 36 of file WaitDlg.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnTimer().

Definition at line 45 of file WaitDlg.h.

Referenced by OnTimer(), and StartWaiting().

BOOL CWaitDlg::m_bCancel [protected]

Definition at line 46 of file WaitDlg.h.

Referenced by OnInitDialog(), and StartWaiting().

Definition at line 47 of file WaitDlg.h.

Referenced by OnCancel(), OnTimer(), and StartWaiting().

CString CWaitDlg::m_strMsg [protected]

Definition at line 48 of file WaitDlg.h.

Referenced by OnInitDialog(), and StartWaiting().


The documentation for this class was generated from the following files:

Generated on Sun May 25 00:20:57 2008 by  doxygen 1.5.6