?? persist.h
字號:
// Persist.h
#ifndef _INSIDE_VISUAL_CPP_PERSISTENT_FRAME
#define _INSIDE_VISUAL_CPP_PERSISTENT_FRAME
class CPersistentFrame : public CFrameWnd
{ // remembers where it was on the desktop
DECLARE_DYNAMIC(CPersistentFrame)
private: //定義注冊表變量
static const CRect s_rectDefault; //預設窗口大小
static const char s_profileHeading[]; //標題名
static const char s_profileRect[]; //窗口坐標
static const char s_profileIcon[]; //圖標
static const char s_profileMax[]; //最大化
static const char s_profileTool[]; //工具欄
static const char s_profileStatus[]; //狀態欄
BOOL m_bFirstTime;
protected: // Create from serialization only
CPersistentFrame(); //構造函數
~CPersistentFrame(); //析構函數
//{{AFX_VIRTUAL(CPersistentFrame)
public:
virtual void ActivateFrame(int nCmdShow = -1);//改變窗口尺寸
protected:
//}}AFX_VIRTUAL
//{{AFX_MSG(CPersistentFrame)
afx_msg void OnDestroy(); //銷毀視圖
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#endif // _INSIDE_VISUAL_CPP_PERSISTENT_FRAME
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -