⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wnd2.h

📁 Visual C++ 实践与提高COM和COM+篇源代码. 对学习COM编程很有帮助.
💻 H
字号:
/*****************************************************************************  File: Wnd2.h  Purpose:     Since the COccManager class is a friend class of CWnd it has access to 	 protected member variables and methods of CWnd. My derived version of 	 COccManager also needs access to these members and so I had to derive	 this class from CWnd and create accessor functions to the protected data.  Functions:     GetControlSite - returns the protected member CWnd::m_pCtrlSite     GetCtrlCont    - returns the protected member CWnd::m_pCtrlCont  Development Team: ShawnK  Written by Microsoft Product Support Services, Languages Developer Support  Copyright (c) 1993 Microsoft Corporation. All rights reserved.\****************************************************************************/#ifndef WND2_H#define WND2_H/////////////////////////////////////////////////////////////////////////////// CWnd2 windowclass CWnd2 : public CWnd{// Constructionpublic:	CWnd2();// Attributespublic:// Operationspublic:	COleControlSite* GetControlSite();	COleControlContainer* GetCtrlCont();// Overrides	// ClassWizard generated virtual function overrides	//{{AFX_VIRTUAL(CWnd2)	//}}AFX_VIRTUAL// Implementationpublic:	virtual ~CWnd2();	// Generated message map functionsprotected:	//{{AFX_MSG(CWnd2)		// NOTE - the ClassWizard will add and remove member functions here.	//}}AFX_MSG	DECLARE_MESSAGE_MAP()};/////////////////////////////////////////////////////////////////////////////#endif //WND2_H

⌨️ 快捷键说明

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