de_win.RC 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. /*
  2. * Copyright (c) 1991-1994 by Xerox Corporation. All rights reserved.
  3. *
  4. * THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
  5. * OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
  6. *
  7. * Permission is hereby granted to copy this garbage collector for any purpose,
  8. * provided the above notices are retained on all copies.
  9. */
  10. /* Boehm, May 13, 1994 9:50 am PDT */
  11. #include "windows.h"
  12. #include "de_cmds.h"
  13. #include "de_win.h"
  14. ABOUTBOX DIALOG 19, 21, 163, 47
  15. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  16. CAPTION "About Demonstration Text Editor"
  17. BEGIN
  18. ICON "DE", -1, 8, 8, 13, 13, WS_CHILD | WS_VISIBLE
  19. LTEXT "Demonstration Text Editor", -1, 44, 8, 118, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  20. LTEXT "Version 4.1", -1, 44, 16, 60, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  21. PUSHBUTTON "OK", IDOK, 118, 27, 24, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
  22. END
  23. DE MENU
  24. BEGIN
  25. POPUP "&File"
  26. BEGIN
  27. MENUITEM "&Save\t^W", IDM_FILESAVE
  28. MENUITEM "E&xit\t^D", IDM_FILEEXIT
  29. END
  30. POPUP "&Edit"
  31. BEGIN
  32. MENUITEM "Page &Down\t^R^N", IDM_EDITPDOWN
  33. MENUITEM "Page &Up\t^R^P", IDM_EDITPUP
  34. MENUITEM "U&ndo\t^U", IDM_EDITUNDO
  35. MENUITEM "&Locate\t^L ... ^L", IDM_EDITLOCATE
  36. MENUITEM "D&own\t^N", IDM_EDITDOWN
  37. MENUITEM "U&p\t^P", IDM_EDITUP
  38. MENUITEM "Le&ft\t^B", IDM_EDITLEFT
  39. MENUITEM "&Right\t^F", IDM_EDITRIGHT
  40. MENUITEM "Delete &Backward\tBS", IDM_EDITBS
  41. MENUITEM "Delete F&orward\tDEL", IDM_EDITDEL
  42. MENUITEM "&Top\t^T", IDM_EDITTOP
  43. END
  44. POPUP "&Help"
  45. BEGIN
  46. MENUITEM "&Contents", IDM_HELPCONTENTS
  47. MENUITEM "&About...", IDM_HELPABOUT
  48. END
  49. MENUITEM "Page_&Down", IDM_EDITPDOWN
  50. MENUITEM "Page_&Up", IDM_EDITPUP
  51. END
  52. DE ACCELERATORS
  53. BEGIN
  54. "^R", IDM_EDITREPEAT
  55. "^N", IDM_EDITDOWN
  56. "^P", IDM_EDITUP
  57. "^L", IDM_EDITLOCATE
  58. "^B", IDM_EDITLEFT
  59. "^F", IDM_EDITRIGHT
  60. "^T", IDM_EDITTOP
  61. VK_DELETE, IDM_EDITDEL, VIRTKEY
  62. VK_BACK, IDM_EDITBS, VIRTKEY
  63. END
  64. DE ICON cord\de_win.ICO