From fb8b43dbce8bc310718614384297aeaabb9a3cbb Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Mon, 05 Jul 2004 01:53:09 +0000 Subject: initial commit into svn repository git-svn-id: http://svn.klever.net/kin/bigbrother/trunk@1 fe716a7a-6dde-0310-88d9-d003556173a8 --- (limited to 'MainFrm.h') diff --git a/MainFrm.h b/MainFrm.h new file mode 100644 index 0000000..25a520c --- a/dev/null +++ b/MainFrm.h @@ -0,0 +1,65 @@ +// MainFrm.h : interface of the CMainFrame class +// +///////////////////////////////////////////////////////////////////////////// + +class CGoodStatusBar : public CStatusBar { +public: + void SetTheMinHeight(int nMinHeight) {m_nMinHeight=nMinHeight;} +}; + +class CMainFrame : public CFrameWnd +{ +protected: // create from serialization only + CMainFrame(); + DECLARE_DYNCREATE(CMainFrame) + +// Attributes +protected: + CSplitterWnd m_wndSplitter; +public: + BOOL m_bShuttingDown; + CAnimateCtrl m_PingBar; + BOOL m_bExiting; + BOOL m_bShown; + void FrameDisplayState(BOOL bShow); + +// Operations +public: + +// Overrides + // ClassWizard generated virtual function overrides + //{{AFX_VIRTUAL(CMainFrame) + public: + virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext); + virtual BOOL PreCreateWindow(CREATESTRUCT& cs); + //}}AFX_VIRTUAL + +// Implementation +public: + virtual ~CMainFrame(); +#ifdef _DEBUG + virtual void AssertValid() const; + virtual void Dump(CDumpContext& dc) const; +#endif + +protected: // control bar embedded members + CGoodStatusBar m_wndStatusBar; + CToolBar m_wndToolBar; + +// Generated message map functions +protected: + //{{AFX_MSG(CMainFrame) + afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); + afx_msg void OnDestroy(); + afx_msg void OnUpdateViewMainwindow(CCmdUI* pCmdUI); + afx_msg void OnViewMainwindow(); + afx_msg void OnWindowPosChanging(WINDOWPOS FAR* lpwndpos); + afx_msg void OnUpdateIndicatorPingbar(CCmdUI* pCmdUI); + afx_msg void OnClose(); + afx_msg LRESULT OnNotifyIcon(WPARAM,LPARAM); + afx_msg BOOL OnQueryEndSession(); + //}}AFX_MSG + DECLARE_MESSAGE_MAP() +}; + +///////////////////////////////////////////////////////////////////////////// -- cgit v0.9.0.2