dialogc.h

来自「MFC DLL的编写和调用示例」· C头文件 代码 · 共 60 行

H
60
字号
#if !defined(AFX_DIALOGC_H__0F87E6B8_D272_11D2_9767_00A0C9604754__INCLUDED_)
#define AFX_DIALOGC_H__0F87E6B8_D272_11D2_9767_00A0C9604754__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DialogC.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CDialogC dialog
#ifndef DLGCPorting
#ifdef COMPILING_DLLC
#define DLGCPorting __declspec( dllexport )
#else
#define DLGCPorting __declspec( dllimport )
#endif
#endif
#include "resource.h"

class DLGCPorting CDialogC : public CDialog
{
// Construction
public:
	CDialogC(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CDialogC)
	enum { IDD = IDD_DIALOGC };
	CString	m_sText;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDialogC)
	public:
	virtual int DoModal();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDialogC)
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	afx_msg void OnButtona();
	afx_msg void OnButtonb();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DIALOGC_H__0F87E6B8_D272_11D2_9767_00A0C9604754__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?