summaryrefslogtreecommitdiffabout
path: root/MainFrm.h
authorMichael Krelin <hacker@klever.net>2004-07-05 01:53:09 (UTC)
committer Michael Krelin <hacker@klever.net>2004-07-05 01:53:09 (UTC)
commitfb8b43dbce8bc310718614384297aeaabb9a3cbb (patch) (side-by-side diff)
treeaf9d2c2b71ddffff93a97a02fe26611096b78645 /MainFrm.h
downloadbigbrother-fb8b43dbce8bc310718614384297aeaabb9a3cbb.zip
bigbrother-fb8b43dbce8bc310718614384297aeaabb9a3cbb.tar.gz
bigbrother-fb8b43dbce8bc310718614384297aeaabb9a3cbb.tar.bz2
initial commit into svn repository
git-svn-id: http://svn.klever.net/kin/bigbrother/trunk@1 fe716a7a-6dde-0310-88d9-d003556173a8
Diffstat (limited to 'MainFrm.h') (more/less context) (ignore whitespace changes)
-rw-r--r--MainFrm.h65
1 files changed, 65 insertions, 0 deletions
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()
+};
+
+/////////////////////////////////////////////////////////////////////////////