dispsimple.h

来自「Thinkinc++English 电子书籍,英文版」· C头文件 代码 · 共 61 行

H
61
字号
#if !defined(AFX_DISPSIMPLE_H__BF99ECAD_9A01_4D80_A672_EAD081CC38A8__INCLUDED_)
#define AFX_DISPSIMPLE_H__BF99ECAD_9A01_4D80_A672_EAD081CC38A8__INCLUDED_

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



/////////////////////////////////////////////////////////////////////////////
// CDispSimple command target

class CDispSimple : public CCmdTarget
{
	DECLARE_DYNCREATE(CDispSimple)

	CDispSimple();           // protected constructor used by dynamic creation

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDispSimple)
	public:
	virtual void OnFinalRelease();
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CDispSimple();

	// Generated message map functions
	//{{AFX_MSG(CDispSimple)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
	DECLARE_OLECREATE(CDispSimple)

	// Generated OLE dispatch map functions
	//{{AFX_DISPATCH(CDispSimple)
	afx_msg long Add(long n1, long n2);
	afx_msg BSTR Upper(LPCTSTR str);
	//}}AFX_DISPATCH
	DECLARE_DISPATCH_MAP()
	DECLARE_INTERFACE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_DISPSIMPLE_H__BF99ECAD_9A01_4D80_A672_EAD081CC38A8__INCLUDED_)

⌨️ 快捷键说明

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