Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
1.1 KiB

  1. /*++
  2. Copyright (c) 1994-95 Microsoft Corporation
  3. Module Name:
  4. mainfrm.h
  5. Abstract:
  6. Main frame implementation.
  7. Author:
  8. Don Ryan (donryan) 12-Feb-1995
  9. Environment:
  10. User Mode - Win32
  11. Revision History:
  12. --*/
  13. #ifndef _MAINFRM_H_
  14. #define _MAINFRM_H_
  15. class CMainFrame : public CFrameWnd
  16. {
  17. DECLARE_DYNCREATE(CMainFrame)
  18. private:
  19. CStatusBar m_wndStatusBar;
  20. CToolBar m_wndToolBar;
  21. public:
  22. CMainFrame();
  23. virtual ~CMainFrame();
  24. #ifdef _DEBUG
  25. virtual void AssertValid() const;
  26. virtual void Dump(CDumpContext& dc) const;
  27. #endif
  28. //{{AFX_VIRTUAL(CMainFrame)
  29. protected:
  30. virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
  31. //}}AFX_VIRTUAL
  32. public:
  33. //{{AFX_MSG(CMainFrame)
  34. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  35. afx_msg void OnHtmlHelp();
  36. afx_msg void OnInitMenuPopup(CMenu* pPopupMenu, UINT nIndex, BOOL bSysMenu);
  37. afx_msg void OnSetFocus(CWnd* pOldWnd);
  38. //}}AFX_MSG
  39. DECLARE_MESSAGE_MAP()
  40. };
  41. #endif // _MAINFRM_H_