afxmessagebox
来自「visual c 灵感编程的1-20节源码」· 代码 · 共 51 行
TXT
51 行
// AfxMessageBox的使用Dlg.h : header file
//
#if !defined(AFX_AFXMESSAGEBOXDLG_H__9FCE2206_5D58_11D6_8011_5254AB250EAA__INCLUDED_)
#define AFX_AFXMESSAGEBOXDLG_H__9FCE2206_5D58_11D6_8011_5254AB250EAA__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CAfxMessageBoxDlg dialog
class CAfxMessageBoxDlg : public CDialog
{
// Construction
public:
CAfxMessageBoxDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CAfxMessageBoxDlg)
enum { IDD = IDD_AFXMESSAGEBOX_DIALOG };
CString m_Num1;
CString m_Num2;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CAfxMessageBoxDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CAfxMessageBoxDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnResult();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_AFXMESSAGEBOXDLG_H__9FCE2206_5D58_11D6_8011_5254AB250EAA__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?