⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 windowplacement.h

📁 vc座的资源管理器源代码
💻 H
字号:
// MSJ 
// It it works contact Paul DiLascia
// if not you're own your own

#ifndef __WINDOWPLACEMENT_H__
#define __WINDOWPLACEMENT_H__

// CWindowPlacement reads and writes WINDOWPLACEMENT 
// Helper for restoring the app size and placement.
class CTRL_EXT_CLASS CWindowPlacement : public WINDOWPLACEMENT {
public:
   CWindowPlacement();
   ~CWindowPlacement();
   
   // Read/write to app profile
   BOOL GetProfileWP(LPCTSTR lpKeyName);
   void WriteProfileWP(LPCTSTR lpKeyName);

   // Save/restore window pos (from app profile)
   void Save(LPCTSTR lpKeyName, CWnd* pWnd);
   BOOL Restore(LPCTSTR lpKeyName, CWnd* pWnd);

   // Save/restore from archive
   friend CArchive& operator<<(CArchive& ar, const CWindowPlacement& wp);
   friend CArchive& operator>>(CArchive& ar, CWindowPlacement& wp);
private:
	int m_showCmd;
};
  
#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -