summaryrefslogtreecommitdiffabout
path: root/MainFrm.h
Unidiff
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 @@
1// MainFrm.h : interface of the CMainFrame class
2//
3/////////////////////////////////////////////////////////////////////////////
4
5 class CGoodStatusBar : public CStatusBar{
6public:
7 void SetTheMinHeight(int nMinHeight){m_nMinHeight=nMinHeight;}
8};
9
10class CMainFrame : public CFrameWnd
11{
12protected: // create from serialization only
13 CMainFrame();
14 DECLARE_DYNCREATE(CMainFrame)
15
16// Attributes
17protected:
18 CSplitterWnd m_wndSplitter;
19public:
20 BOOL m_bShuttingDown;
21 CAnimateCtrl m_PingBar;
22 BOOL m_bExiting;
23 BOOL m_bShown;
24 void FrameDisplayState(BOOL bShow);
25
26// Operations
27public:
28
29// Overrides
30 // ClassWizard generated virtual function overrides
31 //{{AFX_VIRTUAL(CMainFrame)
32 public:
33 virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
34 virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
35 //}}AFX_VIRTUAL
36
37// Implementation
38public:
39 virtual ~CMainFrame();
40#ifdef _DEBUG
41 virtual void AssertValid() const;
42 virtual void Dump(CDumpContext& dc) const;
43#endif
44
45protected: // control bar embedded members
46 CGoodStatusBar m_wndStatusBar;
47 CToolBar m_wndToolBar;
48
49// Generated message map functions
50protected:
51 //{{AFX_MSG(CMainFrame)
52 afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
53 afx_msg void OnDestroy();
54 afx_msg void OnUpdateViewMainwindow(CCmdUI* pCmdUI);
55 afx_msg void OnViewMainwindow();
56 afx_msg void OnWindowPosChanging(WINDOWPOS FAR* lpwndpos);
57 afx_msg void OnUpdateIndicatorPingbar(CCmdUI* pCmdUI);
58 afx_msg void OnClose();
59 afx_msg LRESULT OnNotifyIcon(WPARAM,LPARAM);
60 afx_msg BOOL OnQueryEndSession();
61 //}}AFX_MSG
62 DECLARE_MESSAGE_MAP()
63};
64
65/////////////////////////////////////////////////////////////////////////////