Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > DoxygenMainWindow.h
Go to the documentation of this file.
00001 #pragma once 00002 #include "DeviceView.h" 00003 00004 typedef struct _MENU_HINT 00005 { 00006 WORD CmdId; 00007 UINT HintId; 00008 } MENU_HINT, *PMENU_HINT; 00009 00010 class CMainWindow 00011 { 00012 CAtlString m_szMainWndClass; 00013 CDeviceView *m_DeviceView; 00014 HWND m_hMainWnd; 00015 HWND m_hStatusBar; 00016 HWND m_hToolBar; 00017 int m_CmdShow; 00018 00019 private: 00020 static LRESULT CALLBACK MainWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam); 00021 00022 LRESULT OnCreate(HWND hwnd); 00023 LRESULT OnDestroy(); 00024 LRESULT OnSize(); 00025 LRESULT OnNotify(LPARAM lParam); 00026 LRESULT OnContext(LPARAM lParam); 00027 LRESULT OnCommand(WPARAM wParam, LPARAM lParam); 00028 00029 BOOL CreateToolBar(); 00030 BOOL CreateStatusBar(); 00031 BOOL StatusBarLoadString(HWND hStatusBar, INT PartId, HINSTANCE hInstance, UINT uID); 00032 00033 public: 00034 CMainWindow(void); 00035 ~CMainWindow(void); 00036 00037 BOOL Initialize(LPCTSTR lpCaption, int nCmdShow); 00038 INT Run(); 00039 VOID Uninitialize(); 00040 00041 00042 }; 00043 Generated on Sun May 27 2012 04:16:57 for ReactOS by
1.7.6.1
|