-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMainFrm.h
58 lines (47 loc) · 1.32 KB
/
MainFrm.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
// MainFrm.h : interface of the CMainFrame class
//
#if !defined(AFX_MAINFRM_H__BFC04DA9_65C6_11D7_9C14_CE97B9E6B96A__INCLUDED_)
#define AFX_MAINFRM_H__BFC04DA9_65C6_11D7_9C14_CE97B9E6B96A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif
#include "SystemTray.h"
class CMainFrame : public CFrameWnd
{
protected: // create from serialization only
CMainFrame();
DECLARE_DYNCREATE(CMainFrame)
// Attributes
public:
CSystemTray m_SysTray;
void SetOnlineLed(BOOL bOnline);
void SetOfflineLed(BOOL bOffline);
// Operations
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
// Implementation
public:
virtual ~CMainFrame();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected: // control bar embedded members
CStatusBar m_wndStatusBar;
CToolBar m_wndToolBar;
BOOL m_bInitialized;
HICON m_hIcon;
//****************************************************
// Generated message map functions
protected:
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnClose();
afx_msg void OnPopupExit();
afx_msg void OnPopupMinimize();
afx_msg void OnPopupMaximize();
afx_msg void OnExit();
afx_msg void OnUpdateStop(CCmdUI* pCmdUI);
afx_msg void OnStop();
DECLARE_MESSAGE_MAP()
};
#endif // !defined(AFX_MAINFRM_H__BFC04DA9_65C6_11D7_9C14_CE97B9E6B96A__INCLUDED_)