wnd2.h
来自「Visual C++实践与提高-刘刀桂, 孟繁晶编著」· C头文件 代码 · 共 59 行
H
59 行
/***************************************************************************** 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 + =
减小字号Ctrl + -
显示快捷键?