waitdlg.h

来自「某个实验事编写粗糙集智能信息处理的程序」· C头文件 代码 · 共 57 行

H
57
字号
 #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 + =
减小字号Ctrl + -
显示快捷键?