1 // ************************************************************************************** 2 // File: LeashFrame.h 3 // By: Arthur David Leather 4 // Created: 12/02/98 5 // Copyright @1998 Massachusetts Institute of Technology - All rights reserved. 6 // Description: H file for LeashFrame.cpp. Contains variables and functions 7 // for Leash 8 // 9 // History: 10 // 11 // MM/DD/YY Inits Description of Change 12 // 12/02/98 ADL Original 13 // ************************************************************************************** 14 15 16 #ifndef _LEASH_PERSISTENT_FRAME 17 #define _LEASH_PERSISTENT_FRAME 18 19 class CLeashFrame : public CFrameWndEx 20 { // remembers where it was on the desktop 21 DECLARE_DYNAMIC(CLeashFrame) 22 static const CRect s_rectDefault; 23 static const char s_profileHeading[]; 24 static const char s_profileRect[]; 25 static const char s_profileIcon[]; 26 static const char s_profileMax[]; 27 static const char s_profileTool[]; 28 static const char s_profileStatus[]; 29 30 private: 31 BOOL m_bFirstTime; 32 33 protected: // Create from serialization only 34 CLeashFrame(); 35 ~CLeashFrame(); 36 37 //{{AFX_VIRTUAL(CLeashFrame) 38 public: 39 virtual void ActivateFrame(int nCmdShow = -1); 40 protected: 41 //}}AFX_VIRTUAL 42 43 //{{AFX_MSG(CLeashFrame) 44 afx_msg void OnDestroy(); 45 //}}AFX_MSG 46 47 DECLARE_MESSAGE_MAP() 48 }; 49 50 #endif // _LEASH_PERSISTENT_FRAME 51