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.

83 lines
2.2 KiB

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