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

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\drawcli.rc2""  // non-App Studio edited resourcesrn"
  29. "rn"
  30. "#include ""afxres.rc""  // Standard componentsrn"
  31. "#include ""afxprint.rc""  // printing/print preview resourcesrn"
  32. "#include ""afxolecl.rc""  // OLE container resourcesrn"
  33. ""
  34. END
  35. /////////////////////////////////////////////////////////////////////////////////////
  36. #endif    // APSTUDIO_INVOKED
  37. //////////////////////////////////////////////////////////////////////////////
  38. //
  39. // Icon
  40. //
  41. IDR_MAINFRAME           ICON    DISCARDABLE     "RES\DRAWCLI.ICO"
  42. IDR_DRAWCLTYPE          ICON    DISCARDABLE     "RES\DRAWDOC.ICO"
  43. //////////////////////////////////////////////////////////////////////////////
  44. //
  45. // Bitmap
  46. //
  47. IDR_MAINFRAME           BITMAP  MOVEABLE PURE   "RES\TOOLBAR.BMP"
  48. //////////////////////////////////////////////////////////////////////////////
  49. //
  50. // Menu
  51. //
  52. IDR_MAINFRAME MENU PRELOAD DISCARDABLE
  53. BEGIN
  54. POPUP "&File"
  55. BEGIN
  56. MENUITEM "&NewtCtrl+N",                ID_FILE_NEW
  57. MENUITEM "&Open...tCtrl+O",            ID_FILE_OPEN
  58. MENUITEM SEPARATOR
  59. MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  60. MENUITEM SEPARATOR
  61. MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  62. MENUITEM SEPARATOR
  63. MENUITEM "E&xit",                       ID_APP_EXIT
  64. END
  65. POPUP "&View"
  66. BEGIN
  67. MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  68. MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  69. END
  70. POPUP "&Help"
  71. BEGIN
  72. MENUITEM "&About Drawcli...",           ID_APP_ABOUT
  73. END
  74. END
  75. IDR_DRAWCLTYPE MENU PRELOAD DISCARDABLE
  76. BEGIN
  77. POPUP "&File"
  78. BEGIN
  79. MENUITEM "&NewtCtrl+N",                ID_FILE_NEW
  80. MENUITEM "&Open...tCtrl+O",            ID_FILE_OPEN
  81. MENUITEM "&Close",                      ID_FILE_CLOSE
  82. MENUITEM "&SavetCtrl+S",               ID_FILE_SAVE
  83. MENUITEM "Save &As...",                 ID_FILE_SAVE_AS
  84. MENUITEM SEPARATOR
  85. MENUITEM "&Print...tCtrl+P",           ID_FILE_PRINT
  86. MENUITEM "Print Pre&view",              ID_FILE_PRINT_PREVIEW
  87. MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  88. MENUITEM SEPARATOR
  89. MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  90. MENUITEM SEPARATOR
  91. MENUITEM "E&xit",                       ID_APP_EXIT
  92. END
  93. POPUP "&Edit"
  94. BEGIN
  95. MENUITEM "&UndotCtrl+Z",               ID_EDIT_UNDO
  96. MENUITEM SEPARATOR
  97. MENUITEM "Cu&ttCtrl+X",                ID_EDIT_CUT
  98. MENUITEM "&CopytCtrl+C",               ID_EDIT_COPY
  99. MENUITEM "&PastetCtrl+V",              ID_EDIT_PASTE
  100. MENUITEM "&DeletetDel",                ID_EDIT_CLEAR
  101. MENUITEM "Select &AlltCtrl+A",         ID_EDIT_SELECT_ALL
  102. MENUITEM "Proper&ties...tAlt+Enter",   ID_EDIT_PROPERTIES
  103. MENUITEM SEPARATOR
  104. MENUITEM "Insert &New Object...",       ID_OLE_INSERT_NEW
  105. MENUITEM "Lin&ks...",                   ID_OLE_EDIT_LINKS
  106. MENUITEM "<<OLE VERBS GO HERE>>",       ID_OLE_VERB_FIRST
  107. END
  108. POPUP "&Draw"
  109. BEGIN
  110. MENUITEM "&Select",                     ID_DRAW_SELECT
  111. MENUITEM "&Line",                       ID_DRAW_LINE
  112. MENUITEM "&Rectangle",                  ID_DRAW_RECT
  113. MENUITEM "R&ound Rectangle",            ID_DRAW_ROUNDRECT
  114. MENUITEM "&Ellipse",                    ID_DRAW_ELLIPSE
  115. MENUITEM "&Polygon",                    ID_DRAW_POLYGON
  116. END
  117. POPUP "&Object"
  118. BEGIN
  119. MENUITEM "&Line Color...",              ID_OBJECT_LINECOLOR
  120. MENUITEM "&Fill Color...",              ID_OBJECT_FILLCOLOR
  121. MENUITEM SEPARATOR
  122. MENUITEM "Move To FronttCtrl+Plus",    ID_OBJECT_MOVETOFRONT
  123. MENUITEM "Move To BacktCtrl+Minus",    ID_OBJECT_MOVETOBACK
  124. MENUITEM "Move ForwardtPlus",          ID_OBJECT_MOVEFORWARD
  125. MENUITEM "Move BacktMinus",            ID_OBJECT_MOVEBACK
  126. END
  127. POPUP "&View"
  128. BEGIN
  129. MENUITEM "&Grid LinestG",              ID_VIEW_GRID
  130. MENUITEM "&Paper Color...",             ID_VIEW_PAPERCOLOR
  131. MENUITEM "Show &Objects",               ID_VIEW_SHOWOBJECTS
  132. MENUITEM SEPARATOR
  133. MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  134. MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  135. END
  136. POPUP "&Window"
  137. BEGIN
  138. MENUITEM "&New Window",                 ID_WINDOW_NEW
  139. MENUITEM "&Cascade",                    ID_WINDOW_CASCADE
  140. MENUITEM "&Tile",                       ID_WINDOW_TILE_HORZ
  141. MENUITEM "&Arrange Icons",              ID_WINDOW_ARRANGE
  142. END
  143. POPUP "&Help"
  144. BEGIN
  145. MENUITEM "&About Drawcli...",           ID_APP_ABOUT
  146. END
  147. END
  148. IDR_DRAWCLTYPE_CNTR_IP MENU PRELOAD DISCARDABLE
  149. BEGIN
  150. POPUP "&File"
  151. BEGIN
  152. MENUITEM "&NewtCtrl+N",                ID_FILE_NEW
  153. MENUITEM "&Open...tCtrl+O",            ID_FILE_OPEN
  154. MENUITEM "&Close",                      ID_FILE_CLOSE
  155. MENUITEM "&SavetCtrl+S",               ID_FILE_SAVE
  156. MENUITEM "Save &As...",                 ID_FILE_SAVE_AS
  157. MENUITEM SEPARATOR
  158. MENUITEM "&Print...tCtrl+P",           ID_FILE_PRINT
  159. MENUITEM "Print Pre&view",              ID_FILE_PRINT_PREVIEW
  160. MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  161. MENUITEM SEPARATOR
  162. MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  163. MENUITEM SEPARATOR
  164. MENUITEM "E&xit",                       ID_APP_EXIT
  165. END
  166. MENUITEM SEPARATOR
  167. POPUP "&View"
  168. BEGIN
  169. MENUITEM "&Grid LinestG",              ID_VIEW_GRID
  170. MENUITEM "&Paper Color...",             ID_VIEW_PAPERCOLOR
  171. MENUITEM SEPARATOR
  172. MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  173. MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  174. END
  175. MENUITEM SEPARATOR
  176. POPUP "&Window"
  177. BEGIN
  178. MENUITEM "&New Window",                 ID_WINDOW_NEW
  179. MENUITEM "&Cascade",                    ID_WINDOW_CASCADE
  180. MENUITEM "&Tile",                       ID_WINDOW_TILE_HORZ
  181. MENUITEM "&Arrange Icons",              ID_WINDOW_ARRANGE
  182. END
  183. END
  184. //////////////////////////////////////////////////////////////////////////////
  185. //
  186. // Accelerator
  187. //
  188. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE
  189. BEGIN
  190. "+",            ID_OBJECT_MOVETOFRONT,  ASCII,  NOINVERT
  191. "-",            ID_OBJECT_MOVEBACK,     ASCII,  NOINVERT
  192. "=",            ID_OBJECT_MOVEFORWARD,  ASCII,  NOINVERT
  193. "_",            ID_OBJECT_MOVETOBACK,   ASCII,  NOINVERT
  194. "A",            ID_EDIT_SELECT_ALL,     VIRTKEY,CONTROL, NOINVERT
  195. "C",            ID_EDIT_COPY,           VIRTKEY,CONTROL, NOINVERT
  196. "E",            ID_DRAW_ELLIPSE,        ASCII,  NOINVERT
  197. "e",            ID_DRAW_ELLIPSE,        ASCII,  NOINVERT
  198. "G",            ID_VIEW_GRID,           ASCII,  NOINVERT
  199. "g",            ID_VIEW_GRID,           ASCII,  NOINVERT
  200. "L",            ID_DRAW_LINE,           ASCII,  NOINVERT
  201. "l",            ID_DRAW_LINE,           ASCII,  NOINVERT
  202. "N",            ID_DRAW_ROUNDRECT,      ASCII,  NOINVERT
  203. "N",            ID_FILE_NEW,            VIRTKEY,CONTROL, NOINVERT
  204. "n",            ID_DRAW_ROUNDRECT,      ASCII,  NOINVERT
  205. "O",            ID_FILE_OPEN,           VIRTKEY,CONTROL, NOINVERT
  206. "P",            ID_FILE_PRINT,          VIRTKEY,CONTROL, NOINVERT
  207. "R",            ID_DRAW_RECT,           ASCII,  NOINVERT
  208. "r",            ID_DRAW_RECT,           ASCII,  NOINVERT
  209. "S",            ID_DRAW_SELECT,         ASCII,  NOINVERT
  210. "S",            ID_FILE_SAVE,           VIRTKEY,CONTROL, NOINVERT
  211. "s",            ID_DRAW_SELECT,         ASCII,  NOINVERT
  212. "V",            ID_EDIT_PASTE,          VIRTKEY,CONTROL, NOINVERT
  213. VK_ADD,         ID_OBJECT_MOVEFORWARD,  VIRTKEY,NOINVERT
  214. VK_ADD,         ID_OBJECT_MOVETOFRONT,  VIRTKEY,CONTROL, NOINVERT
  215. VK_BACK,        ID_EDIT_UNDO,           VIRTKEY,ALT, NOINVERT
  216. VK_DELETE,      ID_EDIT_CLEAR,          VIRTKEY,NOINVERT
  217. VK_DELETE,      ID_EDIT_CUT,            VIRTKEY,SHIFT, NOINVERT
  218. VK_ESCAPE,      ID_CANCEL_EDIT,         VIRTKEY,NOINVERT
  219. VK_F6,          ID_NEXT_PANE,           VIRTKEY,NOINVERT
  220. VK_F6,          ID_PREV_PANE,           VIRTKEY,SHIFT, NOINVERT
  221. VK_INSERT,      ID_EDIT_COPY,           VIRTKEY,CONTROL, NOINVERT
  222. VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY,SHIFT, NOINVERT
  223. VK_RETURN,      ID_EDIT_PROPERTIES,     VIRTKEY,ALT, NOINVERT
  224. VK_SUBTRACT,    ID_OBJECT_MOVEBACK,     VIRTKEY,NOINVERT
  225. VK_SUBTRACT,    ID_OBJECT_MOVETOBACK,   VIRTKEY,CONTROL, NOINVERT
  226. "X",            ID_EDIT_CUT,            VIRTKEY,CONTROL, NOINVERT
  227. "Z",            ID_EDIT_UNDO,           VIRTKEY,CONTROL, NOINVERT
  228. END
  229. IDR_DRAWCLTYPE_CNTR_IP ACCELERATORS PRELOAD MOVEABLE PURE
  230. BEGIN
  231. "N",            ID_FILE_NEW,            VIRTKEY,CONTROL
  232. "O",            ID_FILE_OPEN,           VIRTKEY,CONTROL
  233. "S",            ID_FILE_SAVE,           VIRTKEY,CONTROL
  234. "P",            ID_FILE_PRINT,          VIRTKEY,CONTROL
  235. VK_F6,          ID_NEXT_PANE,           VIRTKEY
  236. VK_F6,          ID_PREV_PANE,           VIRTKEY,SHIFT
  237. VK_ESCAPE,      ID_CANCEL_EDIT,         VIRTKEY,NOINVERT
  238. END
  239. //////////////////////////////////////////////////////////////////////////////
  240. //
  241. // Dialog
  242. //
  243. IDD_ABOUTBOX DIALOG DISCARDABLE  34, 22, 217, 55
  244. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  245. CAPTION "About Drawcli"
  246. FONT 8, "MS Sans Serif"
  247. BEGIN
  248. ICON            IDR_MAINFRAME,IDC_STATIC,11,17,18,20
  249. LTEXT           "Drawcli Application Version 3.0",IDC_STATIC,40,10,119,8
  250. LTEXT           "Copyright 251 1998",IDC_STATIC,40,25,119,8
  251. DEFPUSHBUTTON   "OK",IDOK,176,6,32,14,WS_GROUP
  252. END
  253. IDD_PROP_RECT DIALOG DISCARDABLE  20, 20, 185, 92
  254. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  255. CAPTION "Shape Properties"
  256. FONT 8, "MS Sans Serif"
  257. BEGIN
  258. GROUPBOX        "Outline",IDC_STATIC,6,6,101,33
  259. LTEXT           "Weight:",IDC_STATIC,11,20,27,8
  260. EDITTEXT        IDC_WEIGHT,41,18,21,13,ES_AUTOHSCROLL
  261. GROUPBOX        "Fill",IDC_STATIC,6,44,100,40
  262. CONTROL         "None",IDC_NOFILL,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
  263. 11,56,35,10
  264. DEFPUSHBUTTON   "OK",IDOK,129,6,50,14
  265. PUSHBUTTON      "Cancel",IDCANCEL,129,23,50,14
  266. END
  267. //////////////////////////////////////////////////////////////////////////////
  268. //
  269. // Cursor
  270. //
  271. IDC_PENCIL              CURSOR  DISCARDABLE     "RES\PENCIL.CUR"
  272. //////////////////////////////////////////////////////////////////////////////
  273. //
  274. // String Table
  275. //
  276. STRINGTABLE DISCARDABLE
  277. BEGIN
  278. IDP_BUSY                "Server is still busy."
  279. IDP_OLE_INIT_FAILED     "OLE 2.0 initialization failed.  Make sure that the OLE libraries are the correct version."
  280. IDP_FAILED_TO_CREATE    "Failed to create object.  Make sure the object is entered in the system registry."
  281. END
  282. STRINGTABLE PRELOAD DISCARDABLE
  283. BEGIN
  284. IDR_MAINFRAME           "Drawcli Windows Application"
  285. IDR_DRAWCLTYPE          "nDrawclnDrawcl DocumentnDrawcl Files (*.drw)n.drwnDrawcl.DocumentnDrawcl Document"
  286. END
  287. STRINGTABLE PRELOAD DISCARDABLE
  288. BEGIN
  289. AFX_IDS_APP_TITLE       "Drawcli Windows Application"
  290. AFX_IDS_IDLEMESSAGE     "Ready"
  291. END
  292. STRINGTABLE DISCARDABLE
  293. BEGIN
  294. ID_INDICATOR_EXT        "EXT"
  295. ID_INDICATOR_CAPS       "CAP"
  296. ID_INDICATOR_NUM        "NUM"
  297. ID_INDICATOR_SCRL       "SCRL"
  298. ID_INDICATOR_OVR        "OVR"
  299. ID_INDICATOR_REC        "REC"
  300. END
  301. STRINGTABLE DISCARDABLE
  302. BEGIN
  303. ID_FILE_NEW             "Create a new document"
  304. ID_FILE_OPEN            "Open an existing document"
  305. ID_FILE_CLOSE           "Close the active document"
  306. ID_FILE_SAVE            "Save the active document"
  307. ID_FILE_SAVE_AS         "Save the active document with a new name"
  308. ID_FILE_PAGE_SETUP      "Change the printing options"
  309. ID_FILE_PRINT_SETUP     "Change the printer and printing options"
  310. ID_FILE_PRINT           "Print the active document"
  311. ID_FILE_PRINT_PREVIEW   "Display full pages"
  312. END
  313. STRINGTABLE DISCARDABLE
  314. BEGIN
  315. ID_APP_ABOUT            "Display program information, version number and copyright"
  316. ID_APP_EXIT             "Quit the application; prompts to save documents"
  317. END
  318. STRINGTABLE DISCARDABLE
  319. BEGIN
  320. ID_FILE_MRU_FILE1       "Open this document"
  321. ID_FILE_MRU_FILE2       "Open this document"
  322. ID_FILE_MRU_FILE3       "Open this document"
  323. ID_FILE_MRU_FILE4       "Open this document"
  324. END
  325. STRINGTABLE DISCARDABLE
  326. BEGIN
  327. ID_NEXT_PANE            "Switch to the next window pane"
  328. ID_PREV_PANE            "Switch back to the previous window pane"
  329. END
  330. STRINGTABLE DISCARDABLE
  331. BEGIN
  332. ID_WINDOW_NEW           "Open another window for the active document"
  333. ID_WINDOW_ARRANGE       "Arrange icons at the bottom of the window"
  334. ID_WINDOW_CASCADE       "Arrange windows so they overlap"
  335. ID_WINDOW_TILE_HORZ     "Arrange windows as non-overlapping tiles"
  336. ID_WINDOW_TILE_VERT     "Arrange windows as non-overlapping tiles"
  337. ID_WINDOW_SPLIT         "Split the active window into panes"
  338. END
  339. STRINGTABLE DISCARDABLE
  340. BEGIN
  341. ID_EDIT_CLEAR           "Erase the selection"
  342. ID_EDIT_CLEAR_ALL       "Erase everything"
  343. ID_EDIT_COPY            "Copy the selection and put it on the Clipboard"
  344. ID_EDIT_CUT             "Cut the selection and put it on the Clipboard"
  345. ID_EDIT_FIND            "Find the specified text"
  346. ID_EDIT_PASTE           "Insert Clipboard contents"
  347. ID_EDIT_PASTE_LINK      "Insert Clipboard contents and a link to its source"
  348. ID_EDIT_PASTE_SPECIAL   "Insert Clipboard contents with options"
  349. ID_EDIT_REPEAT          "Repeat the last action"
  350. ID_EDIT_REPLACE         "Replace specific text with different text"
  351. ID_EDIT_SELECT_ALL      "Select the entire document"
  352. ID_EDIT_UNDO            "Undo the last action"
  353. ID_EDIT_REDO            "Redo the previously undone action"
  354. END
  355. STRINGTABLE DISCARDABLE
  356. BEGIN
  357. ID_VIEW_TOOLBAR         "Show or hide the toolbar"
  358. ID_VIEW_STATUS_BAR      "Show or hide the status bar"
  359. END
  360. STRINGTABLE DISCARDABLE
  361. BEGIN
  362. ID_OLE_INSERT_NEW       "Insert new linked or embedded object"
  363. ID_OLE_EDIT_LINKS       "Edit linked objects"
  364. ID_OLE_EDIT_CONVERT     "Convert object to different type"
  365. END
  366. STRINGTABLE DISCARDABLE
  367. BEGIN
  368. ID_OLE_VERB_FIRST       "Activate embedded or linked object"
  369. END
  370. STRINGTABLE DISCARDABLE
  371. BEGIN
  372. AFX_IDS_SCSIZE          "Change the window size"
  373. AFX_IDS_SCMOVE          "Change the window position"
  374. AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"
  375. AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"
  376. AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"
  377. AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"
  378. AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
  379. END
  380. STRINGTABLE DISCARDABLE
  381. BEGIN
  382. AFX_IDS_SCRESTORE       "Restore the window to normal size"
  383. AFX_IDS_SCTASKLIST      "Activate Task List"
  384. AFX_IDS_MDICHILD        "Activate this window"
  385. END
  386. STRINGTABLE DISCARDABLE
  387. BEGIN
  388. ID_VIEW_GRID            "Show or hide gridlines"
  389. ID_DRAW_SELECT          "Choose object selection tool"
  390. ID_DRAW_LINE            "Choose line drawing tool"
  391. ID_DRAW_RECT            "Choose rectangle drawing tool"
  392. ID_DRAW_ROUNDRECT       "Choose rounded rectangle drawing tool"
  393. ID_DRAW_ELLIPSE         "Choose ellipse drawing tool"
  394. ID_OBJECT_LINECOLOR     "Change the line or text color"
  395. ID_OBJECT_FILLCOLOR     "Change the fill or background color"
  396. ID_OBJECT_MOVETOFRONT   "Move object to front of drawing"
  397. ID_OBJECT_MOVETOBACK    "Move object to back of drawing"
  398. ID_OBJECT_MOVEFORWARD   "Move object to next position in z-order"
  399. ID_OBJECT_MOVEBACK      "Move object to previous position in z-order"
  400. ID_VIEW_PAPERCOLOR      "Change paper color displayed while editing"
  401. ID_DRAW_POLYGON         "Choose the polygon drawing tool"
  402. END
  403. STRINGTABLE DISCARDABLE
  404. BEGIN
  405. ID_VIEW_SHOWOBJECTS     "Toggle OLE object indication"
  406. ID_EDIT_PROPERTIES      "Edit drawing object properties"
  407. END
  408. #ifndef APSTUDIO_INVOKED
  409. ////////////////////////////////////////////////////////////////////////////////
  410. //
  411. // Generated from the TEXTINCLUDE 3 resource.
  412. //
  413. #include "resdrawcli.rc2"  // non-App Studio edited resources
  414. #include "afxres.rc"  // Standard components
  415. #include "afxprint.rc"  // printing/print preview resources
  416. #include "afxolecl.rc"  // OLE container resources
  417. /////////////////////////////////////////////////////////////////////////////////////
  418. #endif    // not APSTUDIO_INVOKED