📄 waitdlg.h
字号:
#if !defined(AFX_WAITDLG_H__31659FCF_498E_4C0D_90F0_77FA92B2B4B7__INCLUDED_)
#define AFX_WAITDLG_H__31659FCF_498E_4C0D_90F0_77FA92B2B4B7__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// WaitDlg.h : header file
//
// <BOOK_ADDON STEP7 Chapter 9.6.4> ***************************
using namespace PCDMdll_space;
// </BOOK_ADDON STEP7 Chapter 9.6.4> ***************************
/////////////////////////////////////////////////////////////////////////////
// CWaitDlg dialog
class CWaitDlg : public CDialog
{
// Construction
public:
// <BOOK_ADDON STEP7 Chapter 9.6.4> ***************************
//CWaitDlg(CWnd* pParent = NULL); // standard constructor
CWaitDlg(int IDD,BSTR bStr,CWnd* pParent = NULL);
IPCDMTransferPtr mcomTRANS;
BSTR m_SendString,m_RecvString;
int m_IDD;
~CWaitDlg()
{
if (mcomTRANS!=NULL)
mcomTRANS->Release();
}
// </BOOK_ADDON STEP7 Chapter 9.6.4> ***************************
// Dialog Data
//{{AFX_DATA(CWaitDlg)
enum { IDD = IDD_RECVWAIT };
// NOTE: the ClassWizard will add data members here
//}}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 OnCancel();
virtual BOOL OnInitDialog();
afx_msg void OnTimer(UINT nIDEvent);
//}}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__31659FCF_498E_4C0D_90F0_77FA92B2B4B7__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -