12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- // MainFrm.h : interface of the CMainFrame class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_MAINFRM_H__5EEFA8FB_0FE9_4273_9A5C_D74F6E4AAA91__INCLUDED_)
- #define AFX_MAINFRM_H__5EEFA8FB_0FE9_4273_9A5C_D74F6E4AAA91__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "HColorBar.h"
- #include "HWidthBar.h"
- #define WM_ICONALT WM_USER + 1
- 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)
- 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
- CStatusBar m_wndStatusBar;
- CToolBar m_wndToolBar;
- CToolBar* m_colorBar;
- // Generated message map functions
- protected:
- HICON m_icons[5];
- CToolBar m_picBar;
- //{{AFX_MSG(CMainFrame)
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- afx_msg void OnViewPics();
- afx_msg void OnUpdateViewPics(CCmdUI* pCmdUI);
- afx_msg void OnViewColor();
- afx_msg void OnUpdateViewColor(CCmdUI* pCmdUI);
- afx_msg void OnTimer(UINT nIDEvent);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- afx_msg LRESULT OnOtherViewActive(WPARAM wParam,LPARAM lParam);
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_MAINFRM_H__5EEFA8FB_0FE9_4273_9A5C_D74F6E4AAA91__INCLUDED_)
|