|
#ifndef PROGRESSDLG_H
#define PROGRESSDLG_H
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
const UINT TIMER_STEP = 1;
class CRemoteAdminDoc;
class CProgressWndThread;
class CProgressDlg : public CDialog
{
DECLARE_DYNCREATE(CProgressDlg)
public:
CProgressDlg(CWnd* pParent = NULL); // standard constructor
void SetProgressText(CString strDlgProgressTxt);
void SetDlgTitle(CString strDlgTitle);
void IncrementProgressBar();
void DestroyProgressBarAndExitThread();
BOOL Create();
void SetDocument(CRemoteAdminDoc* pRemoteAdminDoc);
// Dialog Data
//{{AFX_DATA(CProgressDlg)
enum { IDD = IDD_PROGRESS };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CProgressDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CProgressDlg)
virtual BOOL OnInitDialog();
afx_msg void OnTimer(UINT nIDEvent);
//}}AFX_MSG
CRemoteAdminDoc* m_pRemoteAdminDoc;
DECLARE_MESSAGE_MAP()
};
inline void CProgressDlg::SetDocument(CRemoteAdminDoc* pRemoteAdminDoc)
{
ASSERT(pRemoteAdminDoc != NULL);
m_pRemoteAdminDoc = pRemoteAdminDoc;
}
#endif // PROGRESSDLG_H
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.