Leaked source code of windows server 2003
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.

74 lines
2.1 KiB

  1. #include "Windows.h"
  2. #include "SrvrDemo.h"
  3. DocIcon ICON SrvrDemo.Ico
  4. MainMenu MENU
  5. {
  6. POPUP "&File"
  7. {
  8. MENUITEM "&New", IDM_NEW
  9. MENUITEM "&Open...", IDM_OPEN
  10. MENUITEM "&Save", IDM_SAVE
  11. MENUITEM "Save &As...", IDM_SAVEAS
  12. MENUITEM SEPARATOR
  13. MENUITEM "E&xit", IDM_EXIT
  14. MENUITEM SEPARATOR
  15. MENUITEM "A&bout...", IDM_ABOUT
  16. }
  17. POPUP "&Edit"
  18. {
  19. MENUITEM "Cu&t\tShift+Del", IDM_CUT
  20. MENUITEM "&Copy\tCtrl+Ins", IDM_COPY
  21. MENUITEM "&Delete\tDel", IDM_DELETE
  22. }
  23. POPUP "&Color"
  24. {
  25. MENUITEM "&Red", IDM_RED
  26. MENUITEM "&Green", IDM_GREEN
  27. MENUITEM "&Blue", IDM_BLUE
  28. MENUITEM "&White", IDM_WHITE
  29. MENUITEM "Gr&ay", IDM_GRAY
  30. MENUITEM "&Cyan", IDM_CYAN
  31. MENUITEM "&Magenta", IDM_MAGENTA
  32. MENUITEM "&Yellow", IDM_YELLOW
  33. }
  34. POPUP "&Object"
  35. {
  36. MENUITEM "&New", IDM_NEWOBJ
  37. MENUITEM "Ne&xt", IDM_NEXTOBJ
  38. }
  39. }
  40. Accelerators ACCELERATORS
  41. {
  42. VK_DELETE, IDM_CUT, VIRTKEY, SHIFT
  43. VK_INSERT, IDM_COPY, VIRTKEY, CONTROL
  44. VK_DELETE, IDM_DELETE, VIRTKEY
  45. }
  46. AboutBox DIALOG 22, 17, 160, 75
  47. STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
  48. CAPTION "About Server Demo"
  49. {
  50. CTEXT "Microsoft Windows" -1, 0, 5, 160, 8
  51. CTEXT "OLE 1.0 Server Test Application" -1, 0, 14, 160, 8
  52. CTEXT "Version 1.0" -1, 0, 23, 160, 8
  53. CTEXT "(c) Copyright Microsoft Corp. 1990 - 1992" -1, 0, 39, 160, 8
  54. DEFPUSHBUTTON "OK" IDOK, 61, 59, 32, 14, WS_GROUP
  55. }
  56. FailedUpdate DIALOG 6, 18, 251, 63
  57. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  58. CAPTION "Object Update"
  59. FONT 8, "Helv"
  60. BEGIN
  61. DEFPUSHBUTTON "&Continue Editing", IDD_CONTINUEEDIT, 77, 36, 68, 14, WS_TABSTOP|WS_GROUP
  62. PUSHBUTTON "Update && E&xit", IDD_UPDATEEXIT, 6, 36, 55, 14
  63. LTEXT "Text", IDD_TEXT, 9, 9, 233, 20
  64. END