-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainFrm.h
66 lines (53 loc) · 1.73 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
// MainFrm.h : interface of the CMainFrame class
// By Jim Dunne http://www.topjimmy.net/tjs
// topjimmy@topjimmy.net
// copyright(C)2005
// if you use all or part of this code, please give me credit somewhere :)
#pragma once
class CMainFrame : public CFrameWnd
{
public:
CMainFrame();
protected:
DECLARE_DYNAMIC(CMainFrame)
// Attributes
public:
// Operations
public:
void CMainFrame::PrintStringTo50WControl();
// Overrides
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo);
// 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;
CString m_csMessage;
CHARRANGE m_crStatus;
CRichEditControl50W m_REControl50W;
// Generated message map functions
protected:
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnSetFocus(CWnd *pOldWnd);
afx_msg void CMainFrame::OnUpdatePopupCopy(CCmdUI* pCmdUI);
afx_msg void CMainFrame::OnPopupCopy();
afx_msg void CMainFrame::OnPopupCut();
afx_msg void CMainFrame::OnPopupUndo();
afx_msg void CMainFrame::OnUpdatePopupUndo(CCmdUI* pCmdUI);
afx_msg void CMainFrame::OnPopupPaste();
afx_msg void CMainFrame::OnPopupStatusSelectall();
afx_msg void CMainFrame::OnPopupCleartext();
afx_msg void CMainFrame::OnUpdatePopupCleartext(CCmdUI* pCmdUI);
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnContextMenu(CWnd* /*pWnd*/, CPoint /*point*/);
protected:
virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult);
};