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.

68 lines
1.6 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1994.
  5. //
  6. // File: mwclass.h
  7. //
  8. // Contents: definition of the main window class
  9. //
  10. // Classes: CMainWindow
  11. //
  12. // Functions: Exists
  13. //
  14. // History: 9-30-94 stevebl Created
  15. //
  16. //----------------------------------------------------------------------------
  17. #ifndef __MWCLASS_H__
  18. #define __MWCLASS_H__
  19. #include <cwindow.h>
  20. #include <commdlg.h>
  21. #ifdef __cplusplus
  22. int Exists(TCHAR *sz);
  23. //+---------------------------------------------------------------------------
  24. //
  25. // Class: CMainWindow
  26. //
  27. // Purpose: Code for the main Galactic War window and the main menu.
  28. //
  29. // Interface: CMainWindow -- constructor
  30. // InitInstance -- instantiates the main window
  31. //
  32. // History: 9-30-94 stevebl Created
  33. //
  34. // Notes: only the public interface is listed here
  35. //
  36. //----------------------------------------------------------------------------
  37. class CMainWindow: public CHlprWindow
  38. {
  39. public:
  40. CMainWindow();
  41. BOOL InitInstance(HINSTANCE, int);
  42. protected:
  43. ~CMainWindow();
  44. LRESULT WindowProc(UINT uMsg, WPARAM wParam, LPARAM lParam);
  45. private:
  46. LRESULT DoMenu(WPARAM wParam, LPARAM lParam);
  47. void TestInsertObject();
  48. void TestPasteSpecial();
  49. void TestEditLinks();
  50. void TestChangeIcon();
  51. void TestConvert();
  52. void TestCanConvert();
  53. void TestBusy();
  54. void TestChangeSource();
  55. void TestObjectProps();
  56. void TestPromptUser(int nTemplate);
  57. void TestUpdateLinks();
  58. };
  59. #endif // __cplusplus
  60. #endif // __MWCLASS_H__