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.

21 lines
594 B

  1. #include <windows.h>
  2. #include "simple.h"
  3. SimpleMenu MENU
  4. BEGIN
  5. POPUP "&Tests"
  6. BEGIN
  7. MENUITEM "&CoInitialize", IDM_COINIT
  8. MENUITEM "&About", IDM_ABOUT
  9. END
  10. END
  11. AboutBox DIALOG 22, 17, 144, 75
  12. STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU | DS_NOIDLEMSG
  13. CAPTION "About Simple"
  14. BEGIN
  15. CTEXT "Microsoft Windows" -1, 0, 5, 144, 8
  16. CTEXT "OLE 2.0 Simple Thunk Test", -1, 0, 14, 144, 8
  17. CTEXT "Version 3.0" -1, 0, 34, 144, 8
  18. DEFPUSHBUTTON "OK" IDOK, 53, 59, 32, 14, WS_GROUP
  19. END