📄 cmdwaitdlg.h
字号:
#if !defined(AFX_CWAITDIALOG_H__25FAD201_F98F_11D2_8127_F91DB0F31875__INCLUDED_)
#define AFX_CWAITDIALOG_H__25FAD201_F98F_11D2_8127_F91DB0F31875__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// CWaitDialog.h : header file
//
//////////////////////////////////////////////////// CWaitDialog //
// Author: Todd Andrews
// Email: tmandrews@mindspring.com
// Copyright 1999, Todd Andrews
//
// You may freely use or modify this code provided this
// Copyright is included in all derived versions.
//
//
// This class implements a wrapper for a worker thread and dialog
#include "WaitDlgThread.h"
/////////////////////////////////////////////////////////////////////////////
// CWaitDialog command target
class CWaitDialog : public CCmdTarget
{
DECLARE_DYNCREATE(CWaitDialog)
CWaitDialog(); // protected constructor used by dynamic creation
// Attributes
public:
CWaitDlgThread *m_Thread;
bool m_bShowCancelButton;
HANDLE m_Event;
CString m_Text;
CString m_EventName;
// Operations
public:
void Close();
void Show();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CWaitDialog)
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CWaitDialog();
protected:
// Generated message map functions
//{{AFX_MSG(CWaitDialog)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_cWAITDIALOG_H__25FAD201_F98F_11D2_8127_F91DB0F31875__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -