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.

301 lines
9.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 "afxres.h"
  10. #include "res\otherids.h"
  11. /////////////////////////////////////////////////////////////////////////////
  12. #undef APSTUDIO_READONLY_SYMBOLS
  13. /////////////////////////////////////////////////////////////////////////////
  14. // English (U.S.) resources
  15. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_enu)
  16. #ifdef _WIN32
  17. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  18. #pragma code_page(1252)
  19. #endif //_WIN32
  20. /////////////////////////////////////////////////////////////////////////////
  21. //
  22. // Icon
  23. //
  24. AFX_IDI_STD_FRAME ICON DISCARDABLE "RES\\CTRLTEST.ICO"
  25. /////////////////////////////////////////////////////////////////////////////
  26. //
  27. // Menu
  28. //
  29. AFX_IDI_STD_FRAME MENU DISCARDABLE
  30. BEGIN
  31. POPUP "&File"
  32. BEGIN
  33. MENUITEM "E&xit", ID_APP_EXIT
  34. END
  35. POPUP "&Simple"
  36. BEGIN
  37. MENUITEM "Test &C++ Derived class...", IDM_TEST_DERIVED_EDIT
  38. MENUITEM "Test &WNDCLASS Registered...", IDM_TEST_WNDCLASS_EDIT
  39. MENUITEM "Test &Dynamic Subclassed...", IDM_TEST_SUB_EDIT
  40. END
  41. POPUP "&Custom"
  42. BEGIN
  43. MENUITEM "&Bitmap Button 1...", IDM_TEST_BITMAP_BUTTON1
  44. MENUITEM "Bitmap Button &2...", IDM_TEST_BITMAP_BUTTON2
  45. MENUITEM "Bitmap Button &3...", IDM_TEST_BITMAP_BUTTON3
  46. MENUITEM SEPARATOR
  47. MENUITEM "Custom &Menu", IDM_TEST_CUSTOM_MENU
  48. MENUITEM "Custom &Listbox...", IDM_TEST_CUSTOM_LIST
  49. MENUITEM SEPARATOR
  50. MENUITEM "&Spin Control...", IDM_TEST_SPIN_EDIT
  51. END
  52. POPUP "&Help"
  53. BEGIN
  54. MENUITEM "&About ...", ID_APP_ABOUT
  55. END
  56. END
  57. /////////////////////////////////////////////////////////////////////////////
  58. //
  59. // Dialog
  60. //
  61. ABOUTBOX DIALOG DISCARDABLE 34, 22, 144, 75
  62. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  63. CAPTION "About CtrlTest"
  64. FONT 8, "MS Sans Serif"
  65. BEGIN
  66. CTEXT "Microsoft Windows",IDC_STATIC,0,5,144,8
  67. CTEXT "Microsoft Foundation Classes",IDC_STATIC,0,14,144,8
  68. CTEXT "Control Test Application",IDC_STATIC,0,23,144,8
  69. CTEXT "Version 1.1 (MFC V4.0)",IDC_STATIC,0,36,144,8
  70. DEFPUSHBUTTON "OK",IDOK,56,53,32,14,WS_GROUP
  71. END
  72. IDD_DERIVED_EDIT DIALOG DISCARDABLE 16, 16, 214, 199
  73. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  74. CAPTION "Using C++ Derived Class"
  75. FONT 8, "MS Sans Serif"
  76. BEGIN
  77. DEFPUSHBUTTON "Done",IDOK,167,7,37,14
  78. END
  79. IDD_SUB_EDIT DIALOG DISCARDABLE 16, 16, 195, 98
  80. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  81. CAPTION "Using Dynamic Subclassed edit controls"
  82. FONT 8, "MS Sans Serif"
  83. BEGIN
  84. LTEXT "Letters:",IDC_STATIC,8,9,44,8
  85. EDITTEXT IDC_EDIT1,61,7,79,12
  86. LTEXT "Numbers:",IDC_STATIC,8,29,44,8
  87. EDITTEXT IDC_EDIT2,61,28,79,12
  88. LTEXT "Either:",IDC_STATIC,8,49,44,8
  89. EDITTEXT IDC_EDIT3,61,47,79,12
  90. LTEXT "Anything:",IDC_STATIC,8,69,44,8
  91. EDITTEXT IDC_EDIT4,61,68,79,12
  92. DEFPUSHBUTTON "Done",IDOK,151,7,37,14
  93. END
  94. IDD_SUB_PENEDIT DIALOG DISCARDABLE 16, 16, 195, 98
  95. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  96. CAPTION "Using template Pen Edit controls"
  97. FONT 8, "MS Sans Serif"
  98. BEGIN
  99. LTEXT "Letters:",IDC_STATIC,8,9,43,8
  100. CONTROL "ALC<3>",IDC_EDIT1,"hedit",WS_BORDER | WS_TABSTOP,61,7,
  101. 79,12
  102. LTEXT "Numbers:",IDC_STATIC,8,29,43,8
  103. CONTROL "ALC<4>",IDC_EDIT2,"hedit",WS_BORDER | WS_TABSTOP,61,27,
  104. 79,12
  105. LTEXT "Letters:",IDC_STATIC,10,50,43,8
  106. CONTROL "ALC<3>",IDC_EDIT3,"bedit",WS_BORDER | WS_TABSTOP,57,42,
  107. 86,19
  108. LTEXT "Numbers:",IDC_STATIC,10,72,43,8
  109. CONTROL "ALC<4>",IDC_EDIT4,"bedit",WS_BORDER | WS_TABSTOP,57,64,
  110. 86,19
  111. DEFPUSHBUTTON "Done",IDOK,151,6,39,14
  112. END
  113. IDM_TEST_BITMAP_BUTTON1 DIALOG DISCARDABLE 55, 38, 142, 74
  114. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
  115. CAPTION "OwnerBtn Test1"
  116. FONT 8, "MS Sans Serif"
  117. BEGIN
  118. CTEXT "Example Dialog with",IDC_STATIC,7,4,135,8
  119. CTEXT "self-drawing bitmap buttons",IDC_STATIC,7,16,135,8
  120. CONTROL "",IDOK,"button",BS_OWNERDRAW | WS_TABSTOP,23,38,40,30
  121. CONTROL "",IDCANCEL,"button",BS_OWNERDRAW | WS_TABSTOP,79,38,40,
  122. 30
  123. END
  124. IDM_TEST_BITMAP_BUTTON2 DIALOG DISCARDABLE 55, 38, 217, 74
  125. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
  126. CAPTION "OwnerBtn Test2"
  127. FONT 8, "MS Sans Serif"
  128. BEGIN
  129. CTEXT "Example Dialog with",IDC_STATIC,9,4,200,8
  130. CTEXT "auto-load self-drawing bitmap buttons",IDC_STATIC,9,12,
  131. 200,8
  132. CTEXT "(the easy way to do Basic Custom Controls)",IDC_STATIC,
  133. 9,20,200,8
  134. CONTROL "OK",IDOK,"button",BS_OWNERDRAW | WS_TABSTOP,54,39,40,30
  135. CONTROL "CANCEL",IDCANCEL,"button",BS_OWNERDRAW | WS_TABSTOP,110,
  136. 39,40,30
  137. END
  138. IDM_TEST_BITMAP_BUTTON3 DIALOG DISCARDABLE 55, 38, 150, 57
  139. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
  140. CAPTION "OwnerBtn Test3"
  141. FONT 8, "MS Sans Serif"
  142. BEGIN
  143. CONTROL "prev",ID_PREV,"button",BS_OWNERDRAW | WS_TABSTOP,5,15,
  144. 20,20
  145. CTEXT "?",IDC_NUMBEROUT,32,20,10,8
  146. CONTROL "next",ID_NEXT,"button",BS_OWNERDRAW | WS_TABSTOP,49,14,
  147. 20,30
  148. CONTROL "OK",IDOK,"button",BS_OWNERDRAW | WS_TABSTOP,93,14,40,30
  149. END
  150. IDD_CUSTOM_LIST DIALOG DISCARDABLE 16, 16, 173, 87
  151. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  152. CAPTION "Sample Dialog with custom listbox"
  153. FONT 8, "MS Sans Serif"
  154. BEGIN
  155. LTEXT "Please Pick a &Color:",IDC_STATIC,8,9,104,8
  156. LISTBOX IDC_LISTBOX1,10,25,103,52,LBS_SORT |
  157. LBS_OWNERDRAWVARIABLE | WS_VSCROLL | WS_TABSTOP
  158. DEFPUSHBUTTON "OK",IDOK,134,6,33,14
  159. PUSHBUTTON "Cancel",IDCANCEL,134,23,33,14
  160. END
  161. IDD_WNDCLASS_EDIT DIALOG DISCARDABLE 0, 0, 202, 93
  162. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  163. CAPTION "Using wndclass registered controls"
  164. FONT 8, "MS Sans Serif"
  165. BEGIN
  166. LTEXT "Letters:",IDC_STATIC,7,14,43,8
  167. LTEXT "Numbers:",IDC_STATIC,8,32,43,8
  168. LTEXT "Either:",IDC_STATIC,8,50,43,8
  169. LTEXT "Anything:",IDC_STATIC,8,68,43,8
  170. DEFPUSHBUTTON "Done",IDOK,151,7,41,14
  171. CONTROL "",IDC_EDIT1,"paredit",WS_BORDER | WS_TABSTOP | 0x2,55,8,
  172. 79,14
  173. CONTROL "",IDC_EDIT2,"paredit",WS_BORDER | WS_TABSTOP | 0x1,55,
  174. 26,79,14
  175. CONTROL "",IDC_EDIT3,"paredit",WS_BORDER | WS_TABSTOP | 0x3,55,
  176. 44,79,14
  177. CONTROL "",IDC_EDIT4,"paredit",WS_BORDER | WS_TABSTOP | 0xffff,
  178. 55,62,80,14
  179. END
  180. /////////////////////////////////////////////////////////////////////////////
  181. //
  182. // Bitmap
  183. //
  184. IMAGE1UP BITMAP MOVEABLE PURE "RES\\IMAGE1U.BMP"
  185. IMAGE1DOWN BITMAP MOVEABLE PURE "RES\\IMAGE1D.BMP"
  186. IMAGE1FOCUS BITMAP MOVEABLE PURE "RES\\IMAGE1F.BMP"
  187. IMAGE2UP BITMAP MOVEABLE PURE "RES\\IMAGE2U.BMP"
  188. IMAGE2DOWN BITMAP MOVEABLE PURE "RES\\IMAGE2D.BMP"
  189. IMAGE2FOCUS BITMAP MOVEABLE PURE "RES\\IMAGE2F.BMP"
  190. OKU BITMAP MOVEABLE PURE "RES\\OKU.BMP"
  191. OKD BITMAP MOVEABLE PURE "RES\\OKD.BMP"
  192. OKF BITMAP MOVEABLE PURE "RES\\OKF.BMP"
  193. CANCELU BITMAP MOVEABLE PURE "RES\\CANCELU.BMP"
  194. CANCELD BITMAP MOVEABLE PURE "RES\\CANCELD.BMP"
  195. CANCELF BITMAP MOVEABLE PURE "RES\\CANCELF.BMP"
  196. NEXTU BITMAP MOVEABLE PURE "RES\\NEXTU.BMP"
  197. NEXTD BITMAP MOVEABLE PURE "RES\\NEXTD.BMP"
  198. NEXTF BITMAP MOVEABLE PURE "RES\\NEXTF.BMP"
  199. NEXTX BITMAP MOVEABLE PURE "RES\\NEXTX.BMP"
  200. PREVU BITMAP MOVEABLE PURE "RES\\PREVU.BMP"
  201. PREVD BITMAP MOVEABLE PURE "RES\\PREVD.BMP"
  202. PREVF BITMAP MOVEABLE PURE "RES\\PREVF.BMP"
  203. PREVX BITMAP MOVEABLE PURE "RES\\PREVX.BMP"
  204. #ifdef APSTUDIO_INVOKED
  205. /////////////////////////////////////////////////////////////////////////////
  206. //
  207. // TEXTINCLUDE
  208. //
  209. 1 TEXTINCLUDE DISCARDABLE
  210. BEGIN
  211. "resource.h\0"
  212. END
  213. 2 TEXTINCLUDE DISCARDABLE
  214. BEGIN
  215. "#include ""afxres.h""\r\n"
  216. "#include ""res\\otherids.h""\r\n"
  217. "\0"
  218. END
  219. 3 TEXTINCLUDE DISCARDABLE
  220. BEGIN
  221. "#include ""res\\ctrltest.rc2""\r\n"
  222. "\0"
  223. END
  224. #endif // APSTUDIO_INVOKED
  225. /////////////////////////////////////////////////////////////////////////////
  226. //
  227. // String Table
  228. //
  229. STRINGTABLE DISCARDABLE
  230. BEGIN
  231. IDS_YOU_CHOSE "You chose %d"
  232. IDS_PLEASE_SELECT_COLOR "Please select a color"
  233. END
  234. STRINGTABLE DISCARDABLE
  235. BEGIN
  236. AFX_IDS_DESKACCESSORY "Opens the selected item"
  237. END
  238. STRINGTABLE DISCARDABLE
  239. BEGIN
  240. IDS_COLOR_NAME_FIRST "black"
  241. IDS_COLOR_NAME_BLUE "blue"
  242. IDS_COLOR_NAME_GREEN "green"
  243. IDS_COLOR_NAME_CYAN "cyan"
  244. IDS_COLOR_NAME_RED "red"
  245. IDS_COLOR_NAME_MAGENTA "magenta"
  246. IDS_COLOR_NAME_YELLOW "yellow"
  247. IDS_COLOR_NAME_WHITE "white"
  248. IDS_YOU_PICKED_COLOR "You picked %s"
  249. IDS_MENU_TEST "Menu Test"
  250. IDS_ILLEGAL_VALUE "illegal value"
  251. IDS_MUSCRL32_DLL_REQUIRED "MUSCRL32.DLL is required to run this test"
  252. IDS_WNDCLASS_NOT_REGISTERED
  253. "Failed to registered WNDCLASS for parsed control"
  254. END
  255. #endif // English (U.S.) resources
  256. /////////////////////////////////////////////////////////////////////////////
  257. #ifndef APSTUDIO_INVOKED
  258. /////////////////////////////////////////////////////////////////////////////
  259. //
  260. // Generated from the TEXTINCLUDE 3 resource.
  261. //
  262. #include "res\ctrltest.rc2"
  263. /////////////////////////////////////////////////////////////////////////////
  264. #endif // not APSTUDIO_INVOKED