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.

491 lines
15 KiB

  1. //Microsoft Developer 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. /////////////////////////////////////////////////////////////////////////////
  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\0"
  27. END
  28. 2 TEXTINCLUDE DISCARDABLE
  29. BEGIN
  30. "#include ""afxres.h""\r\n"
  31. "\0"
  32. END
  33. 3 TEXTINCLUDE DISCARDABLE
  34. BEGIN
  35. "#define _AFX_NO_SPLITTER_RESOURCES\r\n"
  36. "#define _AFX_NO_OLE_RESOURCES\r\n"
  37. "#define _AFX_NO_TRACKER_RESOURCES\r\n"
  38. "#define _AFX_NO_PROPERTY_RESOURCES\r\n"
  39. "\r\n"
  40. "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"
  41. "#ifdef _WIN32\r\n"
  42. "LANGUAGE 9, 1\r\n"
  43. "#pragma code_page(1252)\r\n"
  44. "#endif //_WIN32\r\n"
  45. "#include ""res\\mditest.rc2"" // non-Microsoft Visual C++ edited resources\r\n"
  46. "#include ""afxres.rc"" // Standard components\r\n"
  47. "#endif\r\n"
  48. "\0"
  49. END
  50. #endif // APSTUDIO_INVOKED
  51. /////////////////////////////////////////////////////////////////////////////
  52. //
  53. // Icon
  54. //
  55. // Icon with lowest ID value placed first to ensure application icon
  56. // remains consistent on all systems.
  57. IDR_MAINFRAME ICON DISCARDABLE "res\\mditest.ico"
  58. IDI_ALTICON ICON DISCARDABLE "res\\alticon.ico"
  59. /////////////////////////////////////////////////////////////////////////////
  60. //
  61. // Bitmap
  62. //
  63. IDR_MAINFRAME BITMAP MOVEABLE PURE "res\\Toolbar.bmp"
  64. /////////////////////////////////////////////////////////////////////////////
  65. //
  66. // Toolbar
  67. //
  68. IDR_MAINFRAME TOOLBAR DISCARDABLE 16, 15
  69. BEGIN
  70. BUTTON ID_FILE_NEW
  71. SEPARATOR
  72. BUTTON ID_EDIT_CUT
  73. BUTTON ID_EDIT_COPY
  74. BUTTON ID_EDIT_PASTE
  75. SEPARATOR
  76. BUTTON ID_FILE_PRINT
  77. SEPARATOR
  78. BUTTON ID_APP_ABOUT
  79. END
  80. /////////////////////////////////////////////////////////////////////////////
  81. //
  82. // Menu
  83. //
  84. IDR_MAINFRAME MENU PRELOAD DISCARDABLE
  85. BEGIN
  86. POPUP "&File"
  87. BEGIN
  88. MENUITEM "&New\tCtrl+N", ID_FILE_NEW
  89. MENUITEM SEPARATOR
  90. MENUITEM "E&xit", ID_APP_EXIT
  91. END
  92. POPUP "&View"
  93. BEGIN
  94. MENUITEM "&Toolbar", ID_VIEW_TOOLBAR
  95. MENUITEM "&Status Bar", ID_VIEW_STATUS_BAR
  96. MENUITEM SEPARATOR
  97. MENUITEM "Alternate Sysmenu Icon", ID_ALTICON
  98. MENUITEM "Alternate Caption Text", ID_ALTTEXT
  99. MENUITEM SEPARATOR
  100. MENUITEM "&AdjustWindowRect test (no menubar)", ID_AWRWINDOW
  101. MENUITEM "&AdjustWindowRect test (w/ menubar)", ID_AWRWINDOWMENU
  102. MENUITEM SEPARATOR
  103. MENUITEM "DrawFrameControl() App Compat", IDC_DFCAPPCOMPAT
  104. MENUITEM "DrawCaption() AppCompat", IDC_DCAPPCOMPAT
  105. MENUITEM SEPARATOR
  106. MENUITEM "Tool Frame Test", ID_TOOLFRAME
  107. MENUITEM "Thin Frame Test", ID_THINFRAME
  108. MENUITEM SEPARATOR
  109. MENUITEM "SysMenu", ID_SYSMENU
  110. MENUITEM "Close Button", ID_CLOSEBTN
  111. MENUITEM "Minimize Box", ID_MINIMIZEBOX
  112. MENUITEM "Maximize Box", ID_MAXIMIZEBOX
  113. MENUITEM "Maximize to Full Screen", ID_FULLSCRNMAXIMIZED
  114. , CHECKED
  115. MENUITEM SEPARATOR
  116. MENUITEM "Min/Max Stress", ID_MINMAXSTRESS
  117. MENUITEM SEPARATOR
  118. MENUITEM "Dump System Metrics to debbugger", ID_DUMPMETRICS
  119. MENUITEM "NonClient Metrics...", ID_NONCLIENTMETRICS
  120. END
  121. POPUP "&Help"
  122. BEGIN
  123. MENUITEM "&About mditest...", ID_APP_ABOUT
  124. END
  125. END
  126. IDR_MDITESTYPE MENU PRELOAD DISCARDABLE
  127. BEGIN
  128. POPUP "&File"
  129. BEGIN
  130. MENUITEM "&New\tCtrl+N", ID_FILE_NEW
  131. MENUITEM "&Close", ID_FILE_CLOSE
  132. MENUITEM SEPARATOR
  133. MENUITEM "E&xit", ID_APP_EXIT
  134. END
  135. POPUP "&Edit"
  136. BEGIN
  137. MENUITEM "&Undo\tCtrl+Z", ID_EDIT_UNDO
  138. MENUITEM SEPARATOR
  139. MENUITEM "Cu&t\tCtrl+X", ID_EDIT_CUT
  140. MENUITEM "&Copy\tCtrl+C", ID_EDIT_COPY
  141. MENUITEM "&Paste\tCtrl+V", ID_EDIT_PASTE
  142. END
  143. POPUP "&View"
  144. BEGIN
  145. MENUITEM "&Toolbar", ID_VIEW_TOOLBAR
  146. MENUITEM "&Status Bar", ID_VIEW_STATUS_BAR
  147. MENUITEM SEPARATOR
  148. MENUITEM "Alternate Sysmenu Icon", ID_ALTICON
  149. MENUITEM "Alternate Caption Text", ID_ALTTEXT
  150. MENUITEM SEPARATOR
  151. MENUITEM "DrawFrameControl() App Compat", IDC_DFCAPPCOMPAT
  152. MENUITEM "DrawCaption() AppCompat", IDC_DCAPPCOMPAT
  153. MENUITEM SEPARATOR
  154. MENUITEM "SysMenu", ID_SYSMENU
  155. MENUITEM "Close Button", ID_CLOSEBTN
  156. MENUITEM "Minimize Box", ID_MINIMIZEBOX
  157. MENUITEM "Maximize Box", ID_MAXIMIZEBOX
  158. MENUITEM "Maximize to Full Screen", ID_FULLMDIMAXIMIZED, CHECKED
  159. MENUITEM SEPARATOR
  160. MENUITEM "Min/Max Stress", ID_MINMAXSTRESS
  161. END
  162. POPUP "&Window"
  163. BEGIN
  164. MENUITEM "&Cascade", ID_WINDOW_CASCADE
  165. MENUITEM "&Tile", ID_WINDOW_TILE_HORZ
  166. MENUITEM "&Arrange Icons", ID_WINDOW_ARRANGE
  167. END
  168. POPUP "&Help"
  169. BEGIN
  170. MENUITEM "&About mditest...", ID_APP_ABOUT
  171. END
  172. END
  173. IDR_AWRMENU MENU DISCARDABLE
  174. BEGIN
  175. POPUP "&File"
  176. BEGIN
  177. MENUITEM "&Close", ID_CLOSE
  178. END
  179. END
  180. /////////////////////////////////////////////////////////////////////////////
  181. //
  182. // Accelerator
  183. //
  184. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE
  185. BEGIN
  186. "C", ID_EDIT_COPY, VIRTKEY, CONTROL, NOINVERT
  187. "N", ID_FILE_NEW, VIRTKEY, CONTROL, NOINVERT
  188. "V", ID_EDIT_PASTE, VIRTKEY, CONTROL, NOINVERT
  189. VK_BACK, ID_EDIT_UNDO, VIRTKEY, ALT, NOINVERT
  190. VK_DELETE, ID_EDIT_CUT, VIRTKEY, SHIFT, NOINVERT
  191. VK_F6, ID_NEXT_PANE, VIRTKEY, NOINVERT
  192. VK_F6, ID_PREV_PANE, VIRTKEY, SHIFT, NOINVERT
  193. VK_INSERT, ID_EDIT_COPY, VIRTKEY, CONTROL, NOINVERT
  194. VK_INSERT, ID_EDIT_PASTE, VIRTKEY, SHIFT, NOINVERT
  195. "X", ID_EDIT_CUT, VIRTKEY, CONTROL, NOINVERT
  196. "Z", ID_EDIT_UNDO, VIRTKEY, CONTROL, NOINVERT
  197. END
  198. /////////////////////////////////////////////////////////////////////////////
  199. //
  200. // Dialog
  201. //
  202. IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 235, 55
  203. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  204. CAPTION "About mditest"
  205. FONT 8, "MS Sans Serif"
  206. BEGIN
  207. ICON IDR_MAINFRAME,IDC_STATIC,11,17,20,20
  208. LTEXT "mditest Version 1.0",IDC_STATIC,40,10,119,8,SS_NOPREFIX
  209. LTEXT "Copyright (C) 2000",IDC_STATIC,40,25,119,8
  210. DEFPUSHBUTTON "OK",IDOK,178,7,50,14,WS_GROUP
  211. END
  212. IDR_MAINFRAME DIALOG DISCARDABLE 0, 0, 330, 16
  213. STYLE WS_CHILD
  214. FONT 8, "MS Sans Serif"
  215. BEGIN
  216. LTEXT "TODO: layout dialog bar ",IDC_STATIC,12,4,300,8
  217. END
  218. IDD_CHANGEMETRICS DIALOG DISCARDABLE 0, 0, 336, 146
  219. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  220. CAPTION "Change Non-client metrics"
  221. FONT 8, "MS Sans Serif"
  222. BEGIN
  223. RTEXT "Border Width:",IDC_STATIC,38,20,44,8
  224. EDITTEXT IDC_BORDERWIDTH,88,18,21,13,ES_AUTOHSCROLL
  225. RTEXT "Menu Width:",IDC_STATIC,40,40,42,8
  226. EDITTEXT IDC_MENUWIDTH,88,39,21,13,ES_AUTOHSCROLL
  227. RTEXT "Height:",IDC_STATIC,122,41,24,8
  228. EDITTEXT IDC_MENUHEIGHT,150,39,21,13,ES_AUTOHSCROLL
  229. RTEXT "Scrollbar Width:",IDC_STATIC,31,62,51,8
  230. EDITTEXT IDC_SCROLLBARWIDTH,88,60,21,13,ES_AUTOHSCROLL
  231. RTEXT "Height:",IDC_STATIC,122,63,24,8
  232. EDITTEXT IDC_SCROLLBARHEIGHT,150,60,21,13,ES_AUTOHSCROLL
  233. RTEXT "Normal Caption Width:",IDC_STATIC,10,83,72,8
  234. EDITTEXT IDC_CAPTIONWIDTH,88,81,21,13,ES_AUTOHSCROLL
  235. RTEXT "Height:",IDC_STATIC,122,84,24,8
  236. EDITTEXT IDC_CAPTIONHEIGHT,150,81,21,13,ES_AUTOHSCROLL
  237. RTEXT "Font:",IDC_STATIC,181,84,17,8
  238. EDITTEXT IDC_CAPTIONFONTDESCR,202,84,93,12,ES_AUTOHSCROLL |
  239. ES_READONLY | NOT WS_BORDER
  240. PUSHBUTTON "...",IDC_CAPTIONFONT,298,81,17,12
  241. RTEXT "Small Caption Width:",IDC_STATIC,16,103,66,8
  242. EDITTEXT IDC_SMCAPTIONWIDTH,88,101,21,13,ES_AUTOHSCROLL
  243. RTEXT "Height:",IDC_STATIC,122,104,24,8
  244. EDITTEXT IDC_SMCAPTIONHEIGHT,150,101,21,13,ES_AUTOHSCROLL
  245. RTEXT "Font:",IDC_STATIC,181,104,17,8
  246. EDITTEXT IDC_CAPTIONFONTDESCR2,202,104,93,12,ES_AUTOHSCROLL |
  247. ES_READONLY | NOT WS_BORDER
  248. PUSHBUTTON "...",IDC_CAPTIONFONT2,298,101,17,12
  249. PUSHBUTTON "&Apply",IDC_APPLY,162,125,50,14
  250. DEFPUSHBUTTON "OK",IDOK,222,125,50,14
  251. PUSHBUTTON "Cancel",IDCANCEL,279,125,50,14
  252. END
  253. IDD_THINFRAME DIALOG DISCARDABLE 0, 0, 262, 166
  254. STYLE WS_POPUP | WS_CAPTION
  255. FONT 8, "MS Sans Serif"
  256. BEGIN
  257. DEFPUSHBUTTON "OK",IDOK,145,145,50,14
  258. PUSHBUTTON "Cancel",IDCANCEL,205,145,50,14
  259. END
  260. #ifndef _MAC
  261. /////////////////////////////////////////////////////////////////////////////
  262. //
  263. // Version
  264. //
  265. VS_VERSION_INFO VERSIONINFO
  266. FILEVERSION 1,0,0,1
  267. PRODUCTVERSION 1,0,0,1
  268. FILEFLAGSMASK 0x3fL
  269. #ifdef _DEBUG
  270. FILEFLAGS 0x1L
  271. #else
  272. FILEFLAGS 0x0L
  273. #endif
  274. FILEOS 0x4L
  275. FILETYPE 0x1L
  276. FILESUBTYPE 0x0L
  277. BEGIN
  278. BLOCK "StringFileInfo"
  279. BEGIN
  280. BLOCK "040904B0"
  281. BEGIN
  282. VALUE "CompanyName", "\0"
  283. VALUE "FileDescription", "mditest MFC Application\0"
  284. VALUE "FileVersion", "1, 0, 0, 1\0"
  285. VALUE "InternalName", "mditest\0"
  286. VALUE "LegalCopyright", "Copyright (C) 2000\0"
  287. VALUE "LegalTrademarks", "\0"
  288. VALUE "OriginalFilename", "mditest.EXE\0"
  289. VALUE "ProductName", "mditest Application\0"
  290. VALUE "ProductVersion", "1, 0, 0, 1\0"
  291. END
  292. END
  293. BLOCK "VarFileInfo"
  294. BEGIN
  295. VALUE "Translation", 0x409, 1200
  296. END
  297. END
  298. #endif // !_MAC
  299. /////////////////////////////////////////////////////////////////////////////
  300. //
  301. // DESIGNINFO
  302. //
  303. #ifdef APSTUDIO_INVOKED
  304. GUIDELINES DESIGNINFO DISCARDABLE
  305. BEGIN
  306. IDD_ABOUTBOX, DIALOG
  307. BEGIN
  308. LEFTMARGIN, 7
  309. RIGHTMARGIN, 228
  310. TOPMARGIN, 7
  311. BOTTOMMARGIN, 48
  312. END
  313. IDD_CHANGEMETRICS, DIALOG
  314. BEGIN
  315. LEFTMARGIN, 7
  316. RIGHTMARGIN, 329
  317. TOPMARGIN, 7
  318. BOTTOMMARGIN, 139
  319. HORZGUIDE, 11
  320. END
  321. IDD_THINFRAME, DIALOG
  322. BEGIN
  323. LEFTMARGIN, 7
  324. RIGHTMARGIN, 255
  325. TOPMARGIN, 7
  326. BOTTOMMARGIN, 159
  327. END
  328. END
  329. #endif // APSTUDIO_INVOKED
  330. /////////////////////////////////////////////////////////////////////////////
  331. //
  332. // String Table
  333. //
  334. STRINGTABLE PRELOAD DISCARDABLE
  335. BEGIN
  336. IDR_MAINFRAME "MDI Test Application"
  337. IDR_MDITESTYPE "\nMdites\nMdites"
  338. IDS_ALTTEXT "Bonzai!"
  339. END
  340. STRINGTABLE PRELOAD DISCARDABLE
  341. BEGIN
  342. AFX_IDS_APP_TITLE "mditest"
  343. AFX_IDS_IDLEMESSAGE "Ready"
  344. END
  345. STRINGTABLE DISCARDABLE
  346. BEGIN
  347. ID_INDICATOR_EXT "EXT"
  348. ID_INDICATOR_CAPS "CAP"
  349. ID_INDICATOR_NUM "NUM"
  350. ID_INDICATOR_SCRL "SCRL"
  351. ID_INDICATOR_OVR "OVR"
  352. ID_INDICATOR_REC "REC"
  353. END
  354. STRINGTABLE DISCARDABLE
  355. BEGIN
  356. ID_FILE_NEW "Create a new document\nNew"
  357. ID_FILE_CLOSE "Close the active document\nClose"
  358. END
  359. STRINGTABLE DISCARDABLE
  360. BEGIN
  361. ID_APP_ABOUT "Display program information, version number and copyright\nAbout"
  362. ID_APP_EXIT "Quit the application; prompts to save documents\nExit"
  363. END
  364. STRINGTABLE DISCARDABLE
  365. BEGIN
  366. ID_NEXT_PANE "Switch to the next window pane\nNext Pane"
  367. ID_PREV_PANE "Switch back to the previous window pane\nPrevious Pane"
  368. END
  369. STRINGTABLE DISCARDABLE
  370. BEGIN
  371. ID_WINDOW_ARRANGE "Arrange icons at the bottom of the window\nArrange Icons"
  372. ID_WINDOW_CASCADE "Arrange windows so they overlap\nCascade Windows"
  373. ID_WINDOW_TILE_HORZ "Arrange windows as non-overlapping tiles\nTile Windows"
  374. ID_WINDOW_TILE_VERT "Arrange windows as non-overlapping tiles\nTile Windows"
  375. ID_WINDOW_SPLIT "Split the active window into panes\nSplit"
  376. END
  377. STRINGTABLE DISCARDABLE
  378. BEGIN
  379. ID_EDIT_CLEAR "Erase the selection\nErase"
  380. ID_EDIT_CLEAR_ALL "Erase everything\nErase All"
  381. ID_EDIT_COPY "Copy the selection and put it on the Clipboard\nCopy"
  382. ID_EDIT_CUT "Cut the selection and put it on the Clipboard\nCut"
  383. ID_EDIT_FIND "Find the specified text\nFind"
  384. ID_EDIT_PASTE "Insert Clipboard contents\nPaste"
  385. ID_EDIT_REPEAT "Repeat the last action\nRepeat"
  386. ID_EDIT_REPLACE "Replace specific text with different text\nReplace"
  387. ID_EDIT_SELECT_ALL "Select the entire document\nSelect All"
  388. ID_EDIT_UNDO "Undo the last action\nUndo"
  389. ID_EDIT_REDO "Redo the previously undone action\nRedo"
  390. END
  391. STRINGTABLE DISCARDABLE
  392. BEGIN
  393. ID_VIEW_TOOLBAR "Show or hide the toolbar\nToggle ToolBar"
  394. ID_VIEW_STATUS_BAR "Show or hide the status bar\nToggle StatusBar"
  395. END
  396. STRINGTABLE DISCARDABLE
  397. BEGIN
  398. AFX_IDS_SCSIZE "Change the window size"
  399. AFX_IDS_SCMOVE "Change the window position"
  400. AFX_IDS_SCMINIMIZE "Reduce the window to an icon"
  401. AFX_IDS_SCMAXIMIZE "Enlarge the window to full size"
  402. AFX_IDS_SCNEXTWINDOW "Switch to the next document window"
  403. AFX_IDS_SCPREVWINDOW "Switch to the previous document window"
  404. AFX_IDS_SCCLOSE "Close the active window and prompts to save the documents"
  405. END
  406. STRINGTABLE DISCARDABLE
  407. BEGIN
  408. AFX_IDS_SCRESTORE "Restore the window to normal size"
  409. AFX_IDS_SCTASKLIST "Activate Task List"
  410. AFX_IDS_MDICHILD "Activate this window"
  411. END
  412. #endif // English (U.S.) resources
  413. /////////////////////////////////////////////////////////////////////////////
  414. #ifndef APSTUDIO_INVOKED
  415. /////////////////////////////////////////////////////////////////////////////
  416. //
  417. // Generated from the TEXTINCLUDE 3 resource.
  418. //
  419. #define _AFX_NO_SPLITTER_RESOURCES
  420. #define _AFX_NO_OLE_RESOURCES
  421. #define _AFX_NO_TRACKER_RESOURCES
  422. #define _AFX_NO_PROPERTY_RESOURCES
  423. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  424. #ifdef _WIN32
  425. LANGUAGE 9, 1
  426. #pragma code_page(1252)
  427. #endif //_WIN32
  428. #include "res\mditest.rc2" // non-Microsoft Visual C++ edited resources
  429. #include "afxres.rc" // Standard components
  430. #endif
  431. /////////////////////////////////////////////////////////////////////////////
  432. #endif // not APSTUDIO_INVOKED