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.

272 lines
7.6 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 "atlres.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 ""atlres.h""\r\n"
  31. "\0"
  32. END
  33. 3 TEXTINCLUDE DISCARDABLE
  34. BEGIN
  35. "\r\n"
  36. "\0"
  37. END
  38. #endif // APSTUDIO_INVOKED
  39. /////////////////////////////////////////////////////////////////////////////
  40. //
  41. // Menu
  42. //
  43. IDR_MAINFRAME MENU PRELOAD DISCARDABLE
  44. BEGIN
  45. POPUP "&File"
  46. BEGIN
  47. MENUITEM "Run Suite &1-pass", IDM_SUITE1
  48. MENUITEM "Run Suite &2-pass", IDM_SUITE2
  49. POPUP "Run sin&gle test"
  50. BEGIN
  51. MENUITEM "Frame Window", IDM_FRAME
  52. END
  53. MENUITEM SEPARATOR
  54. MENUITEM "E&xit", ID_APP_EXIT
  55. END
  56. POPUP "&View"
  57. BEGIN
  58. MENUITEM "&Status Bar", ID_VIEW_STATUS_BAR
  59. END
  60. POPUP "&Help"
  61. BEGIN
  62. MENUITEM "&About CtlPerf...", ID_APP_ABOUT
  63. END
  64. END
  65. /////////////////////////////////////////////////////////////////////////////
  66. //
  67. // Icon
  68. //
  69. // Icon with lowest ID value placed first to ensure application icon
  70. // remains consistent on all systems.
  71. IDR_MAINFRAME ICON DISCARDABLE "res\\CtlPerf.ico"
  72. /////////////////////////////////////////////////////////////////////////////
  73. //
  74. // Dialog
  75. //
  76. IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 310, 124
  77. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  78. CAPTION "About"
  79. FONT 8, "MS Shell Dlg"
  80. BEGIN
  81. DEFPUSHBUTTON "OK",IDOK,253,103,50,14
  82. CTEXT "CtlTest Application v1.0\n� 2000 Microsoft Corporation",
  83. IDC_STATIC,7,14,234,17
  84. ICON IDR_MAINFRAME,IDC_STATIC,269,13,21,20
  85. GROUPBOX "",IDC_STATIC,7,7,235,110
  86. LTEXT "Usage:\tCtlTest [/1Pass] [/2Pass] [/S] [/Lfilename.ext]\n\n/1Pass:\tRuns one pass as described in CtlPerf.ini, and exits.\n",
  87. IDC_STATIC,13,34,226,24
  88. LTEXT "/2Pass:\tRuns pass 1 as described in CtlPerf.ini, displays a message box, runs pass 2 and exits.\n",
  89. IDC_STATIC,13,60,223,18
  90. LTEXT "/S:\tUsed with /2Pass, runs the two passes without pause (two identical runs)",
  91. IDC_STATIC,13,78,222,18
  92. LTEXT "/Lfilename.ext:\tOverride the log file name, when used with /1Pass or /2Pass",
  93. IDC_STATIC,13,96,226,15
  94. END
  95. IDD_OPTIONS DIALOG DISCARDABLE 0, 0, 170, 174
  96. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  97. CAPTION "Suite Options"
  98. FONT 8, "MS Shell Dlg"
  99. BEGIN
  100. DEFPUSHBUTTON "OK",IDOK,24,153,50,14
  101. PUSHBUTTON "Cancel",IDCANCEL,96,153,50,14
  102. LTEXT "Name of Pass &1:",IDC_STATIC,7,7,53,8
  103. EDITTEXT IDC_EDIT_PASS1,7,17,156,12,ES_AUTOHSCROLL
  104. LTEXT "Name of Pass &2:",IDC_STATIC,7,33,53,8
  105. EDITTEXT IDC_EDIT_PASS2,7,43,156,12,ES_AUTOHSCROLL
  106. LTEXT "Name of Log &File:",IDC_STATIC,7,58,56,8
  107. EDITTEXT IDC_EDIT_LOGFILE,7,68,156,12,ES_AUTOHSCROLL
  108. LTEXT "Number of &Loops",IDC_STATIC,7,86,55,8
  109. EDITTEXT IDC_EDIT_NUMLOOPS,67,84,35,12,ES_AUTOHSCROLL
  110. GROUPBOX "Number of controls",IDC_STATIC,7,99,71,49
  111. LTEXT "&X:",IDC_STATIC,14,115,8,8
  112. EDITTEXT IDC_EDIT_CTLX,27,112,39,13,ES_AUTOHSCROLL
  113. LTEXT "&Y:",IDC_STATIC,14,134,8,8
  114. EDITTEXT IDC_EDIT_CTLY,27,131,39,13,ES_AUTOHSCROLL
  115. GROUPBOX "Window size",IDC_STATIC,91,99,71,49
  116. LTEXT "&X:",IDC_STATIC,98,115,8,8
  117. EDITTEXT IDC_EDIT_CX,111,113,39,13,ES_AUTOHSCROLL
  118. LTEXT "Y:",IDC_STATIC,98,134,8,8
  119. EDITTEXT IDC_EDIT_CY,111,132,39,13,ES_AUTOHSCROLL
  120. END
  121. /////////////////////////////////////////////////////////////////////////////
  122. //
  123. // DESIGNINFO
  124. //
  125. #ifdef APSTUDIO_INVOKED
  126. GUIDELINES DESIGNINFO DISCARDABLE
  127. BEGIN
  128. IDD_ABOUTBOX, DIALOG
  129. BEGIN
  130. LEFTMARGIN, 7
  131. RIGHTMARGIN, 303
  132. TOPMARGIN, 7
  133. BOTTOMMARGIN, 117
  134. END
  135. IDD_OPTIONS, DIALOG
  136. BEGIN
  137. LEFTMARGIN, 7
  138. RIGHTMARGIN, 163
  139. TOPMARGIN, 7
  140. BOTTOMMARGIN, 167
  141. END
  142. END
  143. #endif // APSTUDIO_INVOKED
  144. #ifndef _MAC
  145. /////////////////////////////////////////////////////////////////////////////
  146. //
  147. // Version
  148. //
  149. VS_VERSION_INFO VERSIONINFO
  150. FILEVERSION 1,0,0,1
  151. PRODUCTVERSION 1,0,0,1
  152. FILEFLAGSMASK 0x3fL
  153. #ifdef _DEBUG
  154. FILEFLAGS 0x1L
  155. #else
  156. FILEFLAGS 0x0L
  157. #endif
  158. FILEOS 0x4L
  159. FILETYPE 0x2L
  160. FILESUBTYPE 0x0L
  161. BEGIN
  162. BLOCK "StringFileInfo"
  163. BEGIN
  164. BLOCK "040904b0"
  165. BEGIN
  166. VALUE "Comments", "\0"
  167. VALUE "CompanyName", "Microsoft Corporation\0"
  168. VALUE "FileDescription", "Common Controls Performance Test\0"
  169. VALUE "FileVersion", "1, 0, 0, 1\0"
  170. VALUE "InternalName", "CtlPerf\0"
  171. VALUE "LegalCopyright", "Copyright � 2000\0"
  172. VALUE "LegalTrademarks", "\0"
  173. VALUE "OriginalFilename", "CtlPerf.exe\0"
  174. VALUE "ProductName", "CtlPerf Module\0"
  175. VALUE "ProductVersion", "1, 0, 0, 1\0"
  176. END
  177. END
  178. BLOCK "VarFileInfo"
  179. BEGIN
  180. VALUE "Translation", 0x409, 1200
  181. END
  182. END
  183. #endif // !_MAC
  184. /////////////////////////////////////////////////////////////////////////////
  185. //
  186. // String Table
  187. //
  188. STRINGTABLE PRELOAD DISCARDABLE
  189. BEGIN
  190. IDR_MAINFRAME "Common Controls Performance Test"
  191. END
  192. STRINGTABLE DISCARDABLE
  193. BEGIN
  194. IDM_SUITE1 "Tests all control classes in a single pass"
  195. IDM_SUITE2 "Tests all control classes in two passes, allowing to compare the results"
  196. IDM_FRAME "Test the frame window only"
  197. ID_APP_ABOUT "Display program information, version number and copyright\nAbout"
  198. ID_APP_EXIT "Quit the application; prompts to save documents\nExit"
  199. END
  200. STRINGTABLE DISCARDABLE
  201. BEGIN
  202. ID_VIEW_STATUS_BAR "Show or hide the status bar\nToggle StatusBar"
  203. END
  204. STRINGTABLE DISCARDABLE
  205. BEGIN
  206. ATL_IDS_SCSIZE "Change the window size"
  207. ATL_IDS_SCMOVE "Change the window position"
  208. ATL_IDS_SCMINIMIZE "Reduce the window to an icon"
  209. ATL_IDS_SCMAXIMIZE "Enlarge the window to full size"
  210. ATL_IDS_SCNEXTWINDOW "Switch to the next document window"
  211. ATL_IDS_SCPREVWINDOW "Switch to the previous document window"
  212. ATL_IDS_SCCLOSE "Close the active window and prompts to save the documents"
  213. END
  214. STRINGTABLE DISCARDABLE
  215. BEGIN
  216. ATL_IDS_SCRESTORE "Restore the window to normal size"
  217. ATL_IDS_SCTASKLIST "Activate Task List"
  218. END
  219. STRINGTABLE DISCARDABLE
  220. BEGIN
  221. ATL_IDS_IDLEMESSAGE "Ready"
  222. END
  223. #endif // English (U.S.) resources
  224. /////////////////////////////////////////////////////////////////////////////
  225. #ifndef APSTUDIO_INVOKED
  226. /////////////////////////////////////////////////////////////////////////////
  227. //
  228. // Generated from the TEXTINCLUDE 3 resource.
  229. //
  230. /////////////////////////////////////////////////////////////////////////////
  231. #endif // not APSTUDIO_INVOKED