📄 waitdlg.h
字号:
#if !defined(AFX_WAITDLG_H__BBDD79A2_17AE_11D5_BFEA_0040054EF889__INCLUDED_)
#define AFX_WAITDLG_H__BBDD79A2_17AE_11D5_BFEA_0040054EF889__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// WaitDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CWaitDlg dialog
//经过改造,该对话框可用于模式和无模式两种.
// 软件中主要使用无模式.
class CWaitDlg : public CDialog
{
private:
CWinThread* m_pThread; //被该dlg控制的线程的指针.
CDocument* m_pDoc; //
public:
BOOL Create() ; //重载create
void SetThreadUnderControl(CWinThread* h)
{m_pThread=h;}
void ShowString(LPCTSTR str);
CWaitDlg(CWnd* pParent = NULL); // standard constructor
CWaitDlg(CDocument* pDoc);
// Dialog Data
//{{AFX_DATA(CWaitDlg)
enum { IDD = IDD_WAIT };
CString m_strStrToShow;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CWaitDlg)
public:
virtual int DoModal();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CWaitDlg)
afx_msg void OnKill();
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_WAITDLG_H__BBDD79A2_17AE_11D5_BFEA_0040054EF889__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -