persist.h

来自「vc技术内幕(第四版)源代码 vc技术内幕(第四版)源代码」· C头文件 代码 · 共 36 行

H
36
字号
// Persist.h

#ifndef _INSIDE_VISUAL_CPP_PERSISTENT_FRAME
#define _INSIDE_VISUAL_CPP_PERSISTENT_FRAME

class AFX_EXT_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 + =
减小字号Ctrl + -
显示快捷键?