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.

210 lines
5.8 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. #define IDC_STATIC -1
  10. #include <windows.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. // Icon with lowest ID value placed first to ensure application icon
  25. // remains consistent on all systems.
  26. IDI_MAIN_ICON ICON DISCARDABLE "DirectX.ico"
  27. #ifdef APSTUDIO_INVOKED
  28. /////////////////////////////////////////////////////////////////////////////
  29. //
  30. // TEXTINCLUDE
  31. //
  32. 1 TEXTINCLUDE DISCARDABLE
  33. BEGIN
  34. "resource.h\0"
  35. END
  36. 2 TEXTINCLUDE DISCARDABLE
  37. BEGIN
  38. "#define IDC_STATIC -1\r\n"
  39. "#include <windows.h>\r\n"
  40. "\r\n"
  41. "\r\n"
  42. "\0"
  43. END
  44. 3 TEXTINCLUDE DISCARDABLE
  45. BEGIN
  46. "\r\n"
  47. "\0"
  48. END
  49. #endif // APSTUDIO_INVOKED
  50. /////////////////////////////////////////////////////////////////////////////
  51. //
  52. // Accelerator
  53. //
  54. IDR_MAIN_ACCEL ACCELERATORS DISCARDABLE
  55. BEGIN
  56. VK_ESCAPE, IDM_EXIT, VIRTKEY, NOINVERT
  57. VK_F1, IDM_ABOUT, VIRTKEY, NOINVERT
  58. VK_F2, IDM_CHANGEDEVICE, VIRTKEY, NOINVERT
  59. VK_RETURN, IDM_TOGGLESTART, VIRTKEY, NOINVERT
  60. VK_RETURN, IDM_TOGGLEFULLSCREEN, VIRTKEY, ALT, NOINVERT
  61. VK_SPACE, IDM_SINGLESTEP, VIRTKEY, NOINVERT
  62. "X", IDM_EXIT, VIRTKEY, ALT, NOINVERT
  63. END
  64. /////////////////////////////////////////////////////////////////////////////
  65. //
  66. // DESIGNINFO
  67. //
  68. #ifdef APSTUDIO_INVOKED
  69. GUIDELINES DESIGNINFO DISCARDABLE
  70. BEGIN
  71. IDD_ABOUT, DIALOG
  72. BEGIN
  73. LEFTMARGIN, 7
  74. RIGHTMARGIN, 165
  75. TOPMARGIN, 7
  76. BOTTOMMARGIN, 104
  77. END
  78. IDD_CHANGEDEVICE, DIALOG
  79. BEGIN
  80. LEFTMARGIN, 7
  81. RIGHTMARGIN, 174
  82. TOPMARGIN, 7
  83. BOTTOMMARGIN, 83
  84. END
  85. END
  86. #endif // APSTUDIO_INVOKED
  87. /////////////////////////////////////////////////////////////////////////////
  88. //
  89. // Dialog
  90. //
  91. IDD_ABOUT DIALOG DISCARDABLE 0, 0, 172, 111
  92. STYLE DS_SYSMODAL | DS_MODALFRAME | DS_NOIDLEMSG | DS_SETFOREGROUND |
  93. DS_3DLOOK | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION
  94. CAPTION "About"
  95. FONT 8, "MS Shell Dlg"
  96. BEGIN
  97. DEFPUSHBUTTON "OK",IDOK,115,90,40,14
  98. ICON IDI_MAIN_ICON,IDC_STATIC,5,5,20,20
  99. LTEXT "Direct3D Sample",IDC_STATIC,35,5,54,8
  100. LTEXT "Copyright (c) 1998-1999 Microsoft Corp.",IDC_STATIC,35,
  101. 15,126,8
  102. LTEXT "About",IDC_STATIC,60,40,20,8
  103. LTEXT "Select Driver / Device / Mode",IDC_STATIC,60,50,97,8
  104. CTEXT "<Alt+Enter>",IDC_STATIC,10,60,45,8
  105. LTEXT "Toggle Fullscreen / Windowed",IDC_STATIC,60,60,98,8
  106. LTEXT "Exit",IDC_STATIC,60,70,12,8
  107. CTEXT "<F1>",IDC_STATIC,10,40,45,8
  108. CTEXT "<F2>",IDC_STATIC,10,50,45,8
  109. CTEXT "<ESC>",IDC_STATIC,10,70,45,8
  110. GROUPBOX "Usage",IDC_STATIC,5,30,160,55
  111. END
  112. IDD_CHANGEDEVICE DIALOG DISCARDABLE 0, 0, 182, 90
  113. STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
  114. CAPTION "Change device"
  115. FONT 8, "MS Shell Dlg"
  116. BEGIN
  117. GROUPBOX "&Device selection",-1,5,5,115,40
  118. COMBOBOX IDC_DEVICE_COMBO,10,15,105,100,CBS_DROPDOWNLIST |
  119. WS_VSCROLL | WS_TABSTOP
  120. CONTROL "Use desktop &window",IDC_WINDOWED_CHECKBOX,"Button",
  121. BS_AUTOCHECKBOX | WS_TABSTOP,10,30,85,10
  122. GROUPBOX "Fullscreen &modes",IDC_FULLSCREEN_TEXT,5,45,115,40
  123. COMBOBOX IDC_MODE_COMBO,10,55,105,100,CBS_DROPDOWNLIST |
  124. WS_VSCROLL | WS_TABSTOP
  125. CONTROL "&Stereoscopic viewing",IDC_STEREO_CHECKBOX,"Button",
  126. BS_AUTOCHECKBOX | WS_TABSTOP,10,70,85,9
  127. DEFPUSHBUTTON "OK",IDOK,125,5,50,14
  128. PUSHBUTTON "Cancel",IDCANCEL,125,25,50,14
  129. END
  130. /////////////////////////////////////////////////////////////////////////////
  131. //
  132. // Menu
  133. //
  134. IDR_MENU MENU DISCARDABLE
  135. BEGIN
  136. POPUP "&File"
  137. BEGIN
  138. MENUITEM "&Go/stop\tEnter", IDM_TOGGLESTART
  139. MENUITEM "&Single step\tSpace", IDM_SINGLESTEP
  140. MENUITEM SEPARATOR
  141. MENUITEM "&About...\tF1", IDM_ABOUT
  142. MENUITEM "&Change device...\tF2", IDM_CHANGEDEVICE
  143. MENUITEM SEPARATOR
  144. MENUITEM "E&xit\tESC", IDM_EXIT
  145. END
  146. END
  147. IDR_POPUP MENU DISCARDABLE
  148. BEGIN
  149. POPUP "Popup"
  150. BEGIN
  151. MENUITEM "&Go/stop", IDM_TOGGLESTART
  152. MENUITEM "&Single step", IDM_SINGLESTEP
  153. MENUITEM SEPARATOR
  154. MENUITEM "&About...", IDM_ABOUT
  155. MENUITEM "&Change device...", IDM_CHANGEDEVICE
  156. MENUITEM SEPARATOR
  157. MENUITEM "E&xit", IDM_EXIT
  158. END
  159. END
  160. /////////////////////////////////////////////////////////////////////////////
  161. //
  162. // Cursor
  163. //
  164. IDC_CURSOR1 CURSOR DISCARDABLE "cursor1.cur"
  165. #endif // English (U.S.) resources
  166. /////////////////////////////////////////////////////////////////////////////
  167. #ifndef APSTUDIO_INVOKED
  168. /////////////////////////////////////////////////////////////////////////////
  169. //
  170. // Generated from the TEXTINCLUDE 3 resource.
  171. //
  172. /////////////////////////////////////////////////////////////////////////////
  173. #endif // not APSTUDIO_INVOKED