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.

80 lines
2.2 KiB

  1. // MainFrm.h : interface of the CMainFrame class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. // define the main window class for the pws application
  5. #define PWS_MAIN_FRAME_CLASS_NAME "IISPWS_MAIN_FRAME"
  6. class CMainFrame : public CFrameWnd
  7. {
  8. protected: // create from serialization only
  9. CMainFrame();
  10. DECLARE_DYNCREATE(CMainFrame)
  11. // Attributes
  12. public:
  13. CSplitterWnd m_wndSplitter;
  14. // public accessable pane controllers
  15. void GoToMain() {OnPgeMain();}
  16. void GoToAdvanced() {OnPgeAdvanced();}
  17. void GoToTour() {OnPgeTour();}
  18. // void GoToAboutMe() {OnPgeAboutMe();}
  19. // void GoToWebSite() {OnPgeWebSite();}
  20. // Operations
  21. public:
  22. virtual void OnUpdateFrameTitle(BOOL bAddToTitle);
  23. static BOOL FIsW3Running();
  24. // Replace a specific pane view
  25. void ReplaceView( int nRow, int nCol, CRuntimeClass * pNewView, CSize & size );
  26. // Overrides
  27. // ClassWizard generated virtual function overrides
  28. //{{AFX_VIRTUAL(CMainFrame)
  29. public:
  30. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  31. virtual void WinHelp(DWORD dwData, UINT nCmd = HELP_CONTEXT);
  32. protected:
  33. virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
  34. virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
  35. //}}AFX_VIRTUAL
  36. // Implementation
  37. public:
  38. virtual ~CMainFrame();
  39. #ifdef _DEBUG
  40. virtual void AssertValid() const;
  41. virtual void Dump(CDumpContext& dc) const;
  42. #endif
  43. protected: // control bar embedded members
  44. // CToolBar m_wndToolBar;
  45. // Generated message map functions
  46. protected:
  47. //{{AFX_MSG(CMainFrame)
  48. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  49. afx_msg void OnPgeMain();
  50. afx_msg void OnPgeAdvanced();
  51. afx_msg void OnPgeTour();
  52. afx_msg void OnUpdatePgeTour(CCmdUI* pCmdUI);
  53. afx_msg void OnUpdatePgeMain(CCmdUI* pCmdUI);
  54. afx_msg void OnUpdatePgeAdvanced(CCmdUI* pCmdUI);
  55. //}}AFX_MSG
  56. DECLARE_MESSAGE_MAP()
  57. BOOL OnPgeIE();
  58. void EnterShutdownMode( void );
  59. void CheckIfServerIsRunningAgain();
  60. void ProcessRemoteCommand();
  61. CFormIE* m_pIEView;
  62. };
  63. /////////////////////////////////////////////////////////////////////////////