-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathMainFrm.h
80 lines (67 loc) · 2.19 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MAINFRM_H__F8480F28_B2D1_11D7_9734_00045A4C0065__INCLUDED_)
#define AFX_MAINFRM_H__F8480F28_B2D1_11D7_9734_00045A4C0065__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CMainFrame : public CFrameWnd
{
protected: // create from serialization only
CMainFrame();
DECLARE_DYNCREATE(CMainFrame)
void OnUpdateClock(CCmdUI *pCmdUI);
int TimerIDIcon;
int IconIndex;
void LoadNewIcon(UINT nIconID);
// Attributes
protected:
public:
virtual void GetMessageString(UINT nID, CString& rMessage) const;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMainFrame)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CMainFrame();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
void SetupWindowStartup();
protected: // control bar embedded members
CToolBar m_wndToolBar;
CStatusBar m_wndStatusBar;
CString m_strTimeFormat;
WINDOWPLACEMENT wp;
BOOL LoadWindowPlacement(LPWINDOWPLACEMENT pwp);
void SetDefaultWindowPlacement(LPWINDOWPLACEMENT pwp);
void SaveWindowPlacement(LPWINDOWPLACEMENT pwp);
// Generated message map functions
protected:
//{{AFX_MSG(CMainFrame)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnViewFormat();
afx_msg LRESULT OnAreYouMe(WPARAM, LPARAM);
afx_msg void OnUpdateViewDmdgraphics(CCmdUI* pCmdUI);
afx_msg void OnViewDmdgraphics();
afx_msg void OnUpdateViewFontdata(CCmdUI* pCmdUI);
afx_msg void OnViewFontdata();
afx_msg void OnUpdateViewAnimationdata(CCmdUI* pCmdUI);
afx_msg void OnViewAnimationdata();
afx_msg void OnClose();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnLimitations();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MAINFRM_H__F8480F28_B2D1_11D7_9734_00045A4C0065__INCLUDED_)