Source code of Windows XP (NT5)
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.

66 lines
1.4 KiB

  1. //Copyright (c) 1998 - 1999 Microsoft Corporation
  2. /*******************************************************************************
  3. *
  4. * mainfrm.h
  5. *
  6. * interface of CMainFrame class
  7. *
  8. * copyright notice: Copyright 1996, Citrix Systems Inc.
  9. *
  10. * $Author: butchd $ Butch Davis
  11. *
  12. * $Log: N:\NT\PRIVATE\UTILS\CITRIX\WINUTILS\WINCFG\VCS\MAINFRM.H $
  13. *
  14. * Rev 1.3 27 Sep 1996 17:52:32 butchd
  15. * update
  16. *
  17. *******************************************************************************/
  18. ////////////////////////////////////////////////////////////////////////////////
  19. // CMainFrame class
  20. //
  21. class CMainFrame : public CFrameWnd
  22. {
  23. DECLARE_DYNCREATE(CMainFrame)
  24. /*
  25. * Member variables.
  26. */
  27. public:
  28. /*
  29. * Implementation
  30. */
  31. public:
  32. CMainFrame();
  33. virtual ~CMainFrame();
  34. /*
  35. * Debug diagnostics
  36. */
  37. #ifdef _DEBUG
  38. public:
  39. virtual void AssertValid() const;
  40. virtual void Dump(CDumpContext& dc) const;
  41. #endif
  42. /*
  43. * Overrides of MFC CFrameWnd class
  44. */
  45. public:
  46. void ActivateFrame(int nCmdShow);
  47. /*
  48. * Message map / functions
  49. */
  50. protected:
  51. //{{AFX_MSG(CMainFrame)
  52. // afx_msg void OnClose();
  53. afx_msg void OnInitMenuPopup(CMenu* pPopupMenu, UINT nIndex, BOOL bSysMenu);
  54. afx_msg void OnSysCommand(UINT nId, LPARAM lParam);
  55. afx_msg void OnUpdateAppExit(CCmdUI* pCmdUI);
  56. afx_msg LRESULT OnAddWinstation(WPARAM wParam, LPARAM lParam);
  57. //}}AFX_MSG
  58. DECLARE_MESSAGE_MAP()
  59. }; // end CMainFrame class declaration