You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
805 B
C++

#pragma once
#include "MyPictrueBttom.h"
//计时dlg
class CDlgTimingProgress : public CDialogEx
{
DECLARE_DYNAMIC(CDlgTimingProgress)
public:
CDlgTimingProgress(CWnd* pParent = NULL); // 标准构造函数
virtual ~CDlgTimingProgress();
virtual void OnCancel();
enum { IDD = IDD_TIMING_PROGRESS_DLG };
private:
void UpdateInfo();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
virtual BOOL OnInitDialog();
afx_msg BOOL PreTranslateMessage(MSG* pMsg);
afx_msg void OnTimer(UINT nIDEvent);
DECLARE_MESSAGE_MAP()
private:
CString m_ShowInfo;//显示的信息
CProgressCtrl m_WorkProgress;//进度条
CMyPictrueBttom m_StopBtn;
public:
afx_msg void OnBnClickedStopBtn();
};