WindowsXP-SP1/windows/feime/cht/cblocks/mainfrm.h
2020-09-30 16:53:49 +02:00

64 lines
1.7 KiB
C++

/*************************************************
* mainfrm.h *
* *
* Copyright (C) 1995-1999 Microsoft Inc. *
* *
*************************************************/
// mainfrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////
#include "mybar.h"
#include "mystatus.h"
class CMainFrame : public CFrameWnd
{
protected: // create from serialization only
CMainFrame();
DECLARE_DYNCREATE(CMainFrame)
// Attributes
public:
// 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
protected: // control bar embedded members
CMyStatusBar m_wndStatusBar;
CMyToolBar m_wndToolBar;
// Generated message map functions
protected:
//{{AFX_MSG(CMainFrame)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnPaletteChanged(CWnd* pFocusWnd);
afx_msg BOOL OnQueryNewPalette();
afx_msg void OnMenuSelect( UINT nItemID, UINT nFl, HMENU hSysMenu );
afx_msg void OnFire();
afx_msg void OnToolPause();
afx_msg void OnToolResume();
afx_msg void OnDestroy();
//}}AFX_MSG
afx_msg void OnUpdateStatus(CCmdUI* pCmdUI);
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////