MainFrm.h
Upload User: gzboli
Upload Date: 2013-04-10
Package Size: 471k
Code Size: 2k
Category:

Picture Viewer

Development Platform:

Visual C++

  1. // MainFrm.h : interface of the CMainFrame class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_MAINFRM_H__5179F30F_57F8_41B4_BBC0_BEF8A08578BF__INCLUDED_)
  5. #define AFX_MAINFRM_H__5179F30F_57F8_41B4_BBC0_BEF8A08578BF__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. class CMainFrame : public CMDIFrameWnd
  10. {
  11. // Attributes
  12. private:
  13. // BOOL m_muToolBars[1];
  14. DECLARE_DYNAMIC(CMainFrame)
  15. public:
  16. // Operations
  17. private:
  18. int FindMenuItem(const CMenu* Menu, LPCTSTR MenuString);
  19. public:
  20. void SetStatusText(int iPane, LPCTSTR lpszText = NULL);
  21. BOOL UpdateUIs(BOOL bActivate, const CWnd* pActivateWnd, const CWnd* pDeactivateWnd);
  22. public:
  23. CMainFrame();
  24. // Overrides
  25. // ClassWizard generated virtual function overrides
  26. //{{AFX_VIRTUAL(CMainFrame)
  27. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  28. //}}AFX_VIRTUAL
  29. // Implementation
  30. public:
  31. virtual ~CMainFrame();
  32. #ifdef _DEBUG
  33. virtual void AssertValid() const;
  34. virtual void Dump(CDumpContext& dc) const;
  35. #endif
  36. protected:  // control bar embedded members
  37. CStatusBar  m_wndStatusBar;
  38. CToolBar    m_wndToolBar;
  39. // CToolBar m_tbMap;
  40. // Generated message map functions
  41. protected:
  42. //{{AFX_MSG(CMainFrame)
  43. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  44. // NOTE - the ClassWizard will add and remove member functions here.
  45. //    DO NOT EDIT what you see in these blocks of generated code!
  46. //}}AFX_MSG
  47. DECLARE_MESSAGE_MAP()
  48. };
  49. /////////////////////////////////////////////////////////////////////////////
  50. //{{AFX_INSERT_LOCATION}}
  51. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  52. #endif // !defined(AFX_MAINFRM_H__5179F30F_57F8_41B4_BBC0_BEF8A08578BF__INCLUDED_)