summaryrefslogtreecommitdiffabout
path: root/MainFrm.h
Side-by-side diff
Diffstat (limited to 'MainFrm.h') (more/less context) (show 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()
+};
+
+/////////////////////////////////////////////////////////////////////////////