PROPDLG.RC
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:12k
源码类别:

Windows编程

开发平台:

Visual C++

  1. //Microsoft Visual C++ generated resource script.
  2. //
  3. #include "resource.h"
  4. #define APSTUDIO_READONLY_SYMBOLS
  5. /////////////////////////////////////////////////////////////////////////////
  6. //
  7. // Generated from the TEXTINCLUDE 2 resource.
  8. //
  9. #include "afxres.h"
  10. /////////////////////////////////////////////////////////////////////////////
  11. #undef APSTUDIO_READONLY_SYMBOLS
  12. /////////////////////////////////////////////////////////////////////////////
  13. // English (U.S.) resources
  14. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  15. #ifdef _WIN32
  16. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  17. #pragma code_page(1252)
  18. #endif //_WIN32
  19. #ifdef APSTUDIO_INVOKED
  20. /////////////////////////////////////////////////////////////////////////////
  21. //
  22. // TEXTINCLUDE
  23. //
  24. 1 TEXTINCLUDE DISCARDABLE
  25. BEGIN
  26. "resource.h"
  27. END
  28. 2 TEXTINCLUDE DISCARDABLE
  29. BEGIN
  30. "#include ""afxres.h""rn"
  31. ""
  32. END
  33. 3 TEXTINCLUDE DISCARDABLE
  34. BEGIN
  35. "#include ""res\propdlg.rc2""  // non-App Studio edited resourcesrn"
  36. "rn"
  37. "#include ""afxres.rc""  11// Standard componentsrn"
  38. "#include ""afxprint.rc""11// printing/print preview resourcesrn"
  39. ""
  40. END
  41. #endif    // APSTUDIO_INVOKED
  42. /////////////////////////////////////////////////////////////////////////////
  43. //
  44. // Icon
  45. //
  46. IDR_MAINFRAME           ICON    DISCARDABLE     "RES\PROPDLG.ICO"
  47. IDR_SHAPESTYPE          ICON    DISCARDABLE     "RES\SHAPEDOC.ICO"
  48. /////////////////////////////////////////////////////////////////////////////
  49. //
  50. // Bitmap
  51. //
  52. IDR_MAINFRAME           BITMAP  MOVEABLE PURE   "RES\TOOLBAR.BMP"
  53. /////////////////////////////////////////////////////////////////////////////
  54. //
  55. // Menu
  56. //
  57. IDR_MAINFRAME MENU PRELOAD DISCARDABLE
  58. BEGIN
  59. POPUP "&File"
  60. BEGIN
  61. MENUITEM "&NewtCtrl+N",                ID_FILE_NEW
  62. MENUITEM "&Open...tCtrl+O",            ID_FILE_OPEN
  63. MENUITEM SEPARATOR
  64. MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  65. MENUITEM SEPARATOR
  66. MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  67. MENUITEM SEPARATOR
  68. MENUITEM "E&xit",                       ID_APP_EXIT
  69. END
  70. POPUP "&View"
  71. BEGIN
  72. MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  73. MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  74. END
  75. POPUP "&Help"
  76. BEGIN
  77. MENUITEM "&About Property Sample...",   ID_APP_ABOUT
  78. END
  79. END
  80. IDR_SHAPESTYPE MENU PRELOAD DISCARDABLE
  81. BEGIN
  82. POPUP "&File"
  83. BEGIN
  84. MENUITEM "&NewtCtrl+N",                ID_FILE_NEW
  85. MENUITEM "&Open...tCtrl+O",            ID_FILE_OPEN
  86. MENUITEM "&Close",                      ID_FILE_CLOSE
  87. MENUITEM "&SavetCtrl+S",               ID_FILE_SAVE
  88. MENUITEM "Save &As...",                 ID_FILE_SAVE_AS
  89. MENUITEM SEPARATOR
  90. MENUITEM "&Print...tCtrl+P",           ID_FILE_PRINT
  91. MENUITEM "Print Pre&view",              ID_FILE_PRINT_PREVIEW
  92. MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  93. MENUITEM SEPARATOR
  94. MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  95. MENUITEM SEPARATOR
  96. MENUITEM "E&xit",                       ID_APP_EXIT
  97. END
  98. POPUP "&Edit"
  99. BEGIN
  100. MENUITEM "&UndotCtrl+Z",               ID_EDIT_UNDO
  101. MENUITEM SEPARATOR
  102. MENUITEM "Cu&ttCtrl+X",                ID_EDIT_CUT
  103. MENUITEM "&CopytCtrl+C",               ID_EDIT_COPY
  104. MENUITEM "&PastetCtrl+V",              ID_EDIT_PASTE
  105. END
  106. POPUP "&Object"
  107. BEGIN
  108. MENUITEM "&Simple Property Sheet...",   ID_SIMPLE_PROPERTY_SHEET
  109. MENUITEM "Property Sheet with Preview...",
  110. ID_PROPERTY_SHEET_WITH_PREVIEW
  111. MENUITEM "&Mini Frame Property Sheet...",
  112. ID_MINI_FRAME_PROPERTY_SHEET
  113. END
  114. POPUP "&View"
  115. BEGIN
  116. MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  117. MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  118. END
  119. POPUP "&Window"
  120. BEGIN
  121. MENUITEM "&New Window",                 ID_WINDOW_NEW
  122. MENUITEM "&Cascade",                    ID_WINDOW_CASCADE
  123. MENUITEM "&Tile",                       ID_WINDOW_TILE_HORZ
  124. MENUITEM "&Arrange Icons",              ID_WINDOW_ARRANGE
  125. END
  126. POPUP "&Help"
  127. BEGIN
  128. MENUITEM "&About Property Sample...",   ID_APP_ABOUT
  129. END
  130. END
  131. /////////////////////////////////////////////////////////////////////////////
  132. //
  133. // Accelerator
  134. //
  135. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE
  136. BEGIN
  137. "N",            ID_FILE_NEW,            VIRTKEY, CONTROL
  138. "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL
  139. "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL
  140. "P",            ID_FILE_PRINT,          VIRTKEY, CONTROL
  141. "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL
  142. "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL
  143. "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL
  144. "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL
  145. VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT
  146. VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT
  147. VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL
  148. VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT
  149. VK_F6,          ID_NEXT_PANE,           VIRTKEY
  150. VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT
  151. END
  152. /////////////////////////////////////////////////////////////////////////////
  153. //
  154. // Dialog
  155. //
  156. IDD_ABOUTBOX DIALOG DISCARDABLE  34, 22, 217, 55
  157. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  158. CAPTION "About Property Sample"
  159. FONT 8, "MS Sans Serif"
  160. BEGIN
  161. ICON            IDR_MAINFRAME,IDC_STATIC,11,17,18,20
  162. LTEXT           "Property Sample Version 1.0",IDC_STATIC,40,10,93,8
  163. LTEXT           "Copyright