- /*
- * Copyright 1997, 1999 Perforce Software. All rights reserved.
- *
- * This file is part of Perforce - the FAST SCM System.
- */
- #ifndef __WINPOS__
- #define __WINPOS__
- // WinPos.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CWinPos
- class CWinPos
- {
- // Construction
- public:
- CWinPos(bool noSize = false); // standard constructor
- protected:
- CString m_WindowName;
- CWnd *m_pWnd;
- CRect m_DefPos;
- CSize m_MinSize;
- bool m_noSize;
- bool ReadRegistry( RECT *rect );
- void WriteRegistry( RECT *rect );
- // Implementation
- public:
- void SetWindow( CWnd *pWnd, LPCTSTR windowName );
- void SetWindowPtr( CWnd *pWnd ) { m_pWnd = pWnd; }
- void SaveWindowPosition();
- void SetMinSize( CSize minSize ) { m_MinSize= minSize; }
- void SetDefaultPos( CRect &rect ) { m_DefPos= rect; }
- bool RestoreWindowPosition();
- protected:
- };
- #endif // __WINPOS__
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 19924 | YourUncleBob |
Populate -o //guest/perforce_software/p4win/... //guest/YourUncleBob/p4win/..... |
9 years ago | |
//guest/perforce_software/p4win/main/gui/WinPos.h | |||||
#1 | 16169 | perforce_software | Move files to follow new path scheme for branches. | 9 years ago | |
//guest/perforce_software/p4win/gui/WinPos.h | |||||
#1 | 8562 | Matt Attaway | These feet never stop running. Initial commit of the P4Win source code. To the be...st of our knowledge this compiles and runs using the 2013.3 P4 API and VS 2010. Expect a few changes as we refine the build process. Please post any build issues to the forums. « |
11 years ago |