📄 waitdlgthread.h
字号:
#if !defined(AFX_WAITDLGTHREAD_H__55050812_F8E6_11D2_837D_00500406DAEB__INCLUDED_)
#define AFX_WAITDLGTHREAD_H__55050812_F8E6_11D2_837D_00500406DAEB__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// WaitDlgThread.h : header file
//
//////////////////////////////////////////////////// CWaitDlgThread //
// 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 worker thread
#include <afxmt.h>
/////////////////////////////////////////////////////////////////////////////
// WaitDlgThread thread
class CWaitDlgThread : public CWinThread
{
DECLARE_DYNCREATE(CWaitDlgThread)
public:
CWaitDlgThread(); // protected constructor used by dynamic creation
protected:
// Attributes
public:
CString m_Eventname;
CEvent *m_Event;
bool m_bShowCancelButton;
CString m_Text;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CWaitDlgThread)
public:
virtual BOOL InitInstance();
virtual int ExitInstance();
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CWaitDlgThread();
protected:
// Generated message map functions
//{{AFX_MSG(CWaitDlgThread)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_WAITDLGTHREAD_H__55050812_F8E6_11D2_837D_00500406DAEB__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -