#pragma once
|
|
|
// CDialogProgress 对话框
|
|
class CDialogProgress : public CDialogEx
|
{
|
DECLARE_DYNAMIC(CDialogProgress)
|
|
public:
|
CDialogProgress(CWnd* pParent = nullptr); // 标准构造函数
|
virtual ~CDialogProgress();
|
|
// 对话框数据
|
#ifdef AFX_DESIGN_TIME
|
enum { IDD = IDD_DIALOG_PROGRESS };
|
#endif
|
|
protected:
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
|
|
DECLARE_MESSAGE_MAP()
|
public:
|
|
virtual BOOL OnInitDialog();
|
afx_msg void OnTimer(UINT_PTR nIDEvent);
|
CProgressCtrl m_progress1;
|
bool m_bAutoPos = false;
|
int m_nPreogress = 0 ;
|
CString m_TitleStr = _T("进度条标题栏");
|
CString m_HintStr = _T("进度条提示栏");
|
|
int SetPos(int nPos);
|
int SetTitle(CString sTitleStr);
|
int SetHintStr(CString sHintStr);
|
};
|