MAINFRM.H
上传用户:xyjtyn
上传日期:2007-01-01
资源大小:85k
文件大小:1k
源码类别:

按钮控件

开发平台:

Visual C++

  1. // mainfrm.h : interface of the CMainFrame class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #include "combobtn.h"
  5. class CMainFrame : public CMDIFrameWnd
  6. {
  7. DECLARE_DYNAMIC(CMainFrame)
  8. public:
  9. CMainFrame();
  10. // Attributes
  11. public:
  12. CButtonCombo m_colorBtn;
  13. CButtonCombo m_bitmapBtn;
  14. // Operations
  15. public:
  16. // Implementation
  17. public:
  18. virtual ~CMainFrame();
  19. #ifdef _DEBUG
  20. virtual void AssertValid() const;
  21. virtual void Dump(CDumpContext& dc) const;
  22. #endif
  23. protected:  // control bar embedded members
  24. CStatusBar  m_wndStatusBar;
  25. CToolBar    m_wndToolBar;
  26. // Generated message map functions
  27. protected:
  28. //{{AFX_MSG(CMainFrame)
  29. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  30. // NOTE - the ClassWizard will add and remove member functions here.
  31. //    DO NOT EDIT what you see in these blocks of generated code!
  32. //}}AFX_MSG
  33. DECLARE_MESSAGE_MAP()
  34. };
  35. /////////////////////////////////////////////////////////////////////////////