MainFrm.h
Upload User: nhyuejuan
Upload Date: 2013-12-02
Package Size: 171k
Code Size: 2k
Category:

StatusBar

Development Platform:

Visual C++

  1. /////////////////////////////////////////////////////////////////////////////
  2. // Project:PGRSBAR
  3. // Author:NorthTibet
  4. // Date:星期二, 十二月 31, 2002
  5. // Description:在状态栏例实现进程指示器控制。
  6. //
  7. /////////////////////////////////////////////////////////////////////////////
  8. // MainFrm.h : interface of the CMainFrame class
  9. //
  10. /////////////////////////////////////////////////////////////////////////////
  11. #if !defined(AFX_MAINFRM_H__E6E4C94E_4454_4F08_91D6_05CD0C76C4F3__INCLUDED_)
  12. #define AFX_MAINFRM_H__E6E4C94E_4454_4F08_91D6_05CD0C76C4F3__INCLUDED_
  13. #if _MSC_VER > 1000
  14. #pragma once
  15. #endif // _MSC_VER > 1000
  16. #include "ProgBar.h"
  17. class CMainFrame : public CFrameWnd
  18. {
  19. protected: // create from serialization only
  20. CMainFrame();
  21. DECLARE_DYNCREATE(CMainFrame)
  22. // Attributes
  23. public:
  24. // Operations
  25. public:
  26. // Overrides
  27. // ClassWizard generated virtual function overrides
  28. //{{AFX_VIRTUAL(CMainFrame)
  29. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  30. //}}AFX_VIRTUAL
  31. // Implementation
  32. public:
  33. virtual ~CMainFrame();
  34. #ifdef _DEBUG
  35. virtual void AssertValid() const;
  36. virtual void Dump(CDumpContext& dc) const;
  37. #endif
  38. protected:  // control bar embedded members
  39. // CStatusBar  m_wndStatusBar;
  40. CProgStatusBar m_wndStatusBar; // progress control status bar
  41. CToolBar    m_wndToolBar;
  42. // Generated message map functions
  43. protected:
  44. //{{AFX_MSG(CMainFrame)
  45. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  46. // NOTE - the ClassWizard will add and remove member functions here.
  47. //    DO NOT EDIT what you see in these blocks of generated code!
  48. //}}AFX_MSG
  49. afx_msg LRESULT OnProgress(WPARAM wp, LPARAM lp);
  50. DECLARE_MESSAGE_MAP()
  51. };
  52. /////////////////////////////////////////////////////////////////////////////
  53. //{{AFX_INSERT_LOCATION}}
  54. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  55. #endif // !defined(AFX_MAINFRM_H__E6E4C94E_4454_4F08_91D6_05CD0C76C4F3__INCLUDED_)