waitdlg.h
来自「此程序用到了,ADO连接ACCESS数据库,切分窗口,以及不同视图之间进行通信.」· C头文件 代码 · 共 69 行
H
69 行
#if !defined(AFX_WAITDLG_H__FB34A22C_C558_4339_93E4_E6D9778184A8__INCLUDED_)
#define AFX_WAITDLG_H__FB34A22C_C558_4339_93E4_E6D9778184A8__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// WaitDlg.h : header file
//
#include "RunDlgThread.h"
/////////////////////////////////////////////////////////////////////////////
// CWaitDlg dialog
class CWaitDlg : public CDialog
{
// Construction
public:
CWaitDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CWaitDlg)
enum { IDD = IDD_DIALOG_WAIT };
CProgressCtrl m_CtrRunProgress;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CWaitDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CWaitDlg)
virtual void OnOK();
virtual void OnCancel();
afx_msg void OnDestroy();
afx_msg void OnClose();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
afx_msg void OnExit();
afx_msg void OnTimer(UINT nIDEvent);
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
BOOL m_bRunning;
BOOL m_bExitProgram;
BOOL m_bExitCycle;
CString m_strMessage;
public:
void Create();
void Running();
void StopRunning();
void SetRunMessage(CString str);
BOOL GetCycleStatus();
void SetCycleStatus(BOOL flag);
void BeginProgress();
private:
CRunDlgThread* m_pRunThread;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_WAITDLG_H__FB34A22C_C558_4339_93E4_E6D9778184A8__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?