📄 wnd2.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 + -