?? 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 + -