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.
kev/Drawer/SSBase/MxnFormat/ProgressThreadDlg.h

58 lines
1.4 KiB
C

1 month ago
//////////////////////////////////////////////////////////////////////////////
//<2F>ļ<EFBFBD>: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ի<EFBFBD><D4BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
//<2F><>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD>:
// <20><><EFBFBD>߳<EFBFBD><DFB3><EFBFBD>ʹ<EFBFBD>ý<EFBFBD><C3BD><EFBFBD><EFBFBD><EFBFBD>
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д:
//<2F><><EFBFBD>ڣ<EFBFBD>2011-08-30
//
//
/////////////////////////////////////////////////////////////////////////////
#pragma once
#include "ProgressBase.h"
#include "ProgressThreadCtrl.h"
///////////////////////////////////////////////////////////////////////////
// CProgressThreadDlg dialog
namespace NProgress
{
class AFX_CLASS_EXPORT CProgressThreadDlg
: public CDialog
, public CProgressThreadCtrl
{
DECLARE_DYNAMIC(CProgressThreadDlg)
public:
CProgressThreadDlg(CWnd* pParent, LPCTSTR lpszDlgTitle=NULL, bool bAllowCancel=true ); // standard constructor
virtual ~CProgressThreadDlg();
virtual BOOL Create(CWnd* pParentWnd = NULL);
virtual void SetProgressText(LPCTSTR lpszText);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual BOOL OnInitDialog();
afx_msg void OnBnClickedCancel();
afx_msg LRESULT OnMsgThreadFinish(WPARAM wParam, LPARAM lParam);
virtual void ThreadFinished(bool bSucceed); //<2F>߳<EFBFBD>ִ<EFBFBD>н<EFBFBD><D0BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>øú<C3B8><C3BA><EFBFBD><EFBFBD>ر<EFBFBD><D8B1>̲߳<DFB3><CCB2>˳<EFBFBD><CBB3>Ի<EFBFBD><D4BB><EFBFBD>
CProgressCtrl m_progress;
CStatic m_infoWnd;
bool m_bAllowCancel; //Should the Dialog allow PreEmtption by user before Completion?
TCHAR m_szCaption[256]; //Fill up with the Title of the DialogBox
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnClose();
};
}//namespace
using namespace NProgress;