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

Windows编程

开发平台:

Visual C++

  1. //Microsoft App Studio 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. #ifdef APSTUDIO_INVOKED
  13. //////////////////////////////////////////////////////////////////////////////
  14. //
  15. // TEXTINCLUDE
  16. //
  17. 1 TEXTINCLUDE DISCARDABLE
  18. BEGIN
  19. "resource.h"
  20. END
  21. 2 TEXTINCLUDE DISCARDABLE
  22. BEGIN
  23. "#include ""afxres.h""rn"
  24. ""
  25. END
  26. 3 TEXTINCLUDE DISCARDABLE
  27. BEGIN
  28. "#include ""res\propdlg.rc2""  // non-App Studio edited resourcesrn"
  29. "rn"
  30. "#include ""afxres.rc""  11// Standard componentsrn"
  31. "#include ""afxprint.rc""11// printing/print preview resourcesrn"
  32. ""
  33. END
  34. /////////////////////////////////////////////////////////////////////////////////////
  35. #endif    // APSTUDIO_INVOKED
  36. //////////////////////////////////////////////////////////////////////////////
  37. //
  38. // Icon
  39. //
  40. IDR_MAINFRAME           ICON    DISCARDABLE     "RES\PROPDLG.ICO"
  41. IDR_SHAPESTYPE          ICON    DISCARDABLE     "RES\SHAPEDOC.ICO"
  42. //////////////////////////////////////////////////////////////////////////////
  43. //
  44. // Bitmap
  45. //
  46. IDR_MAINFRAME           BITMAP  MOVEABLE PURE   "RES\TOOLBAR.BMP"
  47. //////////////////////////////////////////////////////////////////////////////
  48. //
  49. // Menu
  50. //
  51. IDR_MAINFRAME MENU PRELOAD DISCARDABLE
  52. BEGIN
  53. POPUP "&File"
  54. BEGIN
  55. MENUITEM "&NewtCtrl+N",                ID_FILE_NEW
  56. MENUITEM "&Open...tCtrl+O",            ID_FILE_OPEN
  57. MENUITEM SEPARATOR
  58. MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  59. MENUITEM SEPARATOR
  60. MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  61. MENUITEM SEPARATOR
  62. MENUITEM "E&xit",                       ID_APP_EXIT
  63. END
  64. POPUP "&View"
  65. BEGIN
  66. MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  67. MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  68. END
  69. POPUP "&Help"
  70. BEGIN
  71. MENUITEM "&About Propdlg...",           ID_APP_ABOUT
  72. END
  73. END
  74. IDR_SHAPESTYPE MENU PRELOAD DISCARDABLE
  75. BEGIN
  76. POPUP "&File"
  77. BEGIN
  78. MENUITEM "&NewtCtrl+N",                ID_FILE_NEW
  79. MENUITEM "&Open...tCtrl+O",            ID_FILE_OPEN
  80. MENUITEM "&Close",                      ID_FILE_CLOSE
  81. MENUITEM "&SavetCtrl+S",               ID_FILE_SAVE
  82. MENUITEM "Save &As...",                 ID_FILE_SAVE_AS
  83. MENUITEM SEPARATOR
  84. MENUITEM "&Print...tCtrl+P",           ID_FILE_PRINT
  85. MENUITEM "Print Pre&view",              ID_FILE_PRINT_PREVIEW
  86. MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  87. MENUITEM SEPARATOR
  88. MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  89. MENUITEM SEPARATOR
  90. MENUITEM "E&xit",                       ID_APP_EXIT
  91. END
  92. POPUP "&Edit"
  93. BEGIN
  94. MENUITEM "&UndotCtrl+Z",               ID_EDIT_UNDO
  95. MENUITEM SEPARATOR
  96. MENUITEM "Cu&ttCtrl+X",                ID_EDIT_CUT
  97. MENUITEM "&CopytCtrl+C",               ID_EDIT_COPY
  98. MENUITEM "&PastetCtrl+V",              ID_EDIT_PASTE
  99. END
  100. POPUP "&Object"
  101. BEGIN
  102. MENUITEM "&Simple Property Sheet...",   ID_SIMPLE_PROPERTY_SHEET
  103. MENUITEM "Property Sheet with Preview...",
  104. ID_PROPERTY_SHEET_WITH_PREVIEW
  105. MENUITEM "&Mini Frame Property Sheet...",
  106. ID_MINI_FRAME_PROPERTY_SHEET
  107. END
  108. POPUP "&View"
  109. BEGIN
  110. MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  111. MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  112. END
  113. POPUP "&Window"
  114. BEGIN
  115. MENUITEM "&New Window",                 ID_WINDOW_NEW
  116. MENUITEM "&Cascade",                    ID_WINDOW_CASCADE
  117. MENUITEM "&Tile",                       ID_WINDOW_TILE_HORZ
  118. MENUITEM "&Arrange Icons",              ID_WINDOW_ARRANGE
  119. END
  120. POPUP "&Help"
  121. BEGIN
  122. MENUITEM "&About Propdlg...",           ID_APP_ABOUT
  123. END
  124. END
  125. //////////////////////////////////////////////////////////////////////////////
  126. //
  127. // Accelerator
  128. //
  129. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE
  130. BEGIN
  131. "N",            ID_FILE_NEW,            VIRTKEY, CONTROL
  132. "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL
  133. "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL
  134. "P",            ID_FILE_PRINT,          VIRTKEY, CONTROL
  135. "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL
  136. "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL
  137. "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL
  138. "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL
  139. VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT
  140. VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT
  141. VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL
  142. VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT
  143. VK_F6,          ID_NEXT_PANE,           VIRTKEY
  144. VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT
  145. END
  146. //////////////////////////////////////////////////////////////////////////////
  147. //
  148. // Dialog
  149. //
  150. IDD_ABOUTBOX DIALOG DISCARDABLE  34, 22, 217, 55
  151. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  152. CAPTION "About Propdlg"
  153. FONT 8, "MS Sans Serif"
  154. BEGIN
  155. ICON            IDR_MAINFRAME,IDC_STATIC,11,17,20,20
  156. LTEXT           "Propdlg Version 1.0",IDC_STATIC,40,10,119,8
  157. LTEXT           "Copyright 251 1998",IDC_STATIC,40,25,119,8
  158. DEFPUSHBUTTON   "OK",IDOK,176,6,32,14,WS_GROUP
  159. END
  160. IDD_STYLE DIALOG DISCARDABLE  0, 0, 164, 96
  161. STYLE WS_CHILD | WS_VISIBLE | WS_DISABLED | WS_CAPTION
  162. CAPTION "Style"
  163. FONT 8, "MS Sans Serif"
  164. BEGIN
  165. CONTROL         "&Rectangle",IDC_RECTANGLE,"Button",BS_AUTORADIOBUTTON |
  166. WS_GROUP,10,10,59,11
  167. CONTROL         "R&ound Rectangle",IDC_ROUND_RECTANGLE,"Button",
  168. BS_AUTORADIOBUTTON,10,24,68,10
  169. CONTROL         "&Ellipse",IDC_ELLIPSE,"Button",BS_AUTORADIOBUTTON,10,39,
  170. 60,10
  171. END
  172. IDD_COLOR DIALOG DISCARDABLE  0, 0, 164, 77
  173. STYLE WS_CHILD | WS_VISIBLE | WS_DISABLED | WS_CAPTION
  174. CAPTION "Color"
  175. FONT 8, "MS Sans Serif"
  176. BEGIN
  177. CONTROL         "&White",IDC_WHITE,"Button",BS_AUTORADIOBUTTON |
  178. WS_GROUP,10,10,35,10
  179. CONTROL         "&Red",IDC_RED,"Button",BS_AUTORADIOBUTTON,10,24,33,10
  180. CONTROL         "&Green",IDC_GREEN,"Button",BS_AUTORADIOBUTTON,10,39,34,
  181. 10
  182. CONTROL         "&Blue",IDC_BLUE,"Button",BS_AUTORADIOBUTTON,10,55,30,10
  183. END
  184. //////////////////////////////////////////////////////////////////////////////
  185. //
  186. // Version
  187. //
  188. VS_VERSION_INFO VERSIONINFO
  189.  FILEVERSION 1,0,0,1
  190.  PRODUCTVERSION 1,0,0,1
  191.  FILEFLAGSMASK 0x3fL
  192. #ifdef _DEBUG
  193.  FILEFLAGS 0x1L
  194. #else
  195.  FILEFLAGS 0x0L
  196. #endif
  197.  FILEOS 0x40004L
  198.  FILETYPE 0x1L
  199.  FILESUBTYPE 0x0L
  200. BEGIN
  201. BLOCK "StringFileInfo"
  202. BEGIN
  203. BLOCK "040904B0"
  204. BEGIN
  205. VALUE "CompanyName", ""
  206. VALUE "FileDescription", "PROPDLG MFC Application"
  207. VALUE "FileVersion", "1, 0, 0, 1"
  208. VALUE "InternalName", "PROPDLG"
  209. VALUE "LegalCopyright", "Copyright 251 1998"
  210. VALUE "LegalTrademarks", ""
  211. VALUE "OriginalFilename", "PROPDLG.EXE"
  212. VALUE "ProductName", "PROPDLG Application"
  213. VALUE "ProductVersion", "1, 0, 0, 1"
  214. END
  215. END
  216. BLOCK "VarFileInfo"
  217. BEGIN
  218. VALUE "Translation", 0x409, 1200
  219. END
  220. END
  221. //////////////////////////////////////////////////////////////////////////////
  222. //
  223. // String Table
  224. //
  225. STRINGTABLE PRELOAD DISCARDABLE
  226. BEGIN
  227. IDR_MAINFRAME           "Propdlg"
  228. IDR_SHAPESTYPE          "nshapesnshapes Documentnshapes Files (*.shp)n.shpnPropdlg.shapes.1nshapes Document"
  229. END
  230. STRINGTABLE PRELOAD DISCARDABLE
  231. BEGIN
  232. AFX_IDS_APP_TITLE       "Propdlg"
  233. AFX_IDS_IDLEMESSAGE     "Ready"
  234. END
  235. STRINGTABLE DISCARDABLE
  236. BEGIN
  237. ID_INDICATOR_EXT        "EXT"
  238. ID_INDICATOR_CAPS       "CAP"
  239. ID_INDICATOR_NUM        "NUM"
  240. ID_INDICATOR_SCRL       "SCRL"
  241. ID_INDICATOR_OVR        "OVR"
  242. ID_INDICATOR_REC        "REC"
  243. END
  244. STRINGTABLE DISCARDABLE
  245. BEGIN
  246. ID_FILE_NEW             "Create a new document"
  247. ID_FILE_OPEN            "Open an existing document"
  248. ID_FILE_CLOSE           "Close the active document"
  249. ID_FILE_SAVE            "Save the active document"
  250. ID_FILE_SAVE_AS         "Save the active document with a new name"
  251. ID_FILE_PAGE_SETUP      "Change the printing options"
  252. ID_FILE_PRINT_SETUP     "Change the printer and printing options"
  253. ID_FILE_PRINT           "Print the active document"
  254. ID_FILE_PRINT_PREVIEW   "Display full pages"
  255. END
  256. STRINGTABLE DISCARDABLE
  257. BEGIN
  258. ID_APP_ABOUT            "Display program information, version number and copyright"
  259. ID_APP_EXIT             "Quit the application; prompts to save documents"
  260. END
  261. STRINGTABLE DISCARDABLE
  262. BEGIN
  263. ID_FILE_MRU_FILE1       "Open this document"
  264. ID_FILE_MRU_FILE2       "Open this document"
  265. ID_FILE_MRU_FILE3       "Open this document"
  266. ID_FILE_MRU_FILE4       "Open this document"
  267. END
  268. STRINGTABLE DISCARDABLE
  269. BEGIN
  270. ID_NEXT_PANE            "Switch to the next window pane"
  271. ID_PREV_PANE            "Switch back to the previous window pane"
  272. END
  273. STRINGTABLE DISCARDABLE
  274. BEGIN
  275. ID_WINDOW_NEW           "Open another window for the active document"
  276. ID_WINDOW_ARRANGE       "Arrange icons at the bottom of the window"
  277. ID_WINDOW_CASCADE       "Arrange windows so they overlap"
  278. ID_WINDOW_TILE_HORZ     "Arrange windows as non-overlapping tiles"
  279. ID_WINDOW_TILE_VERT     "Arrange windows as non-overlapping tiles"
  280. ID_WINDOW_SPLIT         "Split the active window into panes"
  281. END
  282. STRINGTABLE DISCARDABLE
  283. BEGIN
  284. ID_EDIT_CLEAR           "Erase the selection"
  285. ID_EDIT_CLEAR_ALL       "Erase everything"
  286. ID_EDIT_COPY            "Copy the selection and put it on the Clipboard"
  287. ID_EDIT_CUT             "Cut the selection and put it on the Clipboard"
  288. ID_EDIT_FIND            "Find the specified text"
  289. ID_EDIT_PASTE           "Insert Clipboard contents"
  290. ID_EDIT_REPEAT          "Repeat the last action"
  291. ID_EDIT_REPLACE         "Replace specific text with different text"
  292. ID_EDIT_SELECT_ALL      "Select the entire document"
  293. ID_EDIT_UNDO            "Undo the last action"
  294. ID_EDIT_REDO            "Redo the previously undone action"
  295. END
  296. STRINGTABLE DISCARDABLE
  297. BEGIN
  298. ID_VIEW_TOOLBAR         "Show or hide the toolbar"
  299. ID_VIEW_STATUS_BAR      "Show or hide the status bar"
  300. END
  301. STRINGTABLE DISCARDABLE
  302. BEGIN
  303. AFX_IDS_SCSIZE          "Change the window size"
  304. AFX_IDS_SCMOVE          "Change the window position"
  305. AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"
  306. AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"
  307. AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"
  308. AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"
  309. AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
  310. END
  311. STRINGTABLE DISCARDABLE
  312. BEGIN
  313. AFX_IDS_SCRESTORE       "Restore the window to normal size"
  314. AFX_IDS_SCTASKLIST      "Activate Task List"
  315. AFX_IDS_MDICHILD        "Activate this window"
  316. END
  317. STRINGTABLE DISCARDABLE
  318. BEGIN
  319. ID_SIMPLE_PROPERTY_SHEET
  320. "Demonstrates default MFC property sheet support"
  321. ID_PROPERTY_SHEET_WITH_PREVIEW
  322. "Demonstrates property sheet with controls shared by all property pages"
  323. ID_MINI_FRAME_PROPERTY_SHEET
  324. "Demonstrates modeless mini frame for property sheet"
  325. ID_MINI_FRAME_WITH_PIN_BUTTON
  326. "Demonstrates pin button to the left of tabs in a mini frame property sheet"
  327. END
  328. #ifndef APSTUDIO_INVOKED
  329. ////////////////////////////////////////////////////////////////////////////////
  330. //
  331. // Generated from the TEXTINCLUDE 3 resource.
  332. //
  333. #include "respropdlg.rc2"  // non-App Studio edited resources
  334. #include "afxres.rc"    // Standard components
  335. #include "afxprint.rc"  // printing/print preview resources
  336. /////////////////////////////////////////////////////////////////////////////////////
  337. #endif    // not APSTUDIO_INVOKED