Leaked source code of windows server 2003
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.

305 lines
9.7 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 APSTUDIO_HIDDEN_SYMBOLS
  10. #include "windows.h"
  11. #undef APSTUDIO_HIDDEN_SYMBOLS
  12. #include "resource.h"
  13. /////////////////////////////////////////////////////////////////////////////
  14. #undef APSTUDIO_READONLY_SYMBOLS
  15. /////////////////////////////////////////////////////////////////////////////
  16. // English (U.S.) resources
  17. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  18. #ifdef _WIN32
  19. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  20. #pragma code_page(1252)
  21. #endif //_WIN32
  22. /////////////////////////////////////////////////////////////////////////////
  23. //
  24. // Icon
  25. //
  26. // Icon with lowest ID value placed first to ensure application icon
  27. // remains consistent on all systems.
  28. IDI_GRAMCOMP ICON DISCARDABLE "GramComp.ICO"
  29. IDI_SMALL ICON DISCARDABLE "SMALL.ICO"
  30. /////////////////////////////////////////////////////////////////////////////
  31. //
  32. // Menu
  33. //
  34. IDC_GRAMCOMP MENU DISCARDABLE
  35. BEGIN
  36. POPUP "&File"
  37. BEGIN
  38. MENUITEM "&New... Ctrl+N", IDM_FILE_NEW
  39. MENUITEM "&Open... Ctrl+O", IDM_FILE_OPEN
  40. MENUITEM SEPARATOR
  41. MENUITEM "&Save Ctrl+S", IDM_FILE_SAVE
  42. MENUITEM "Save &As...", IDM_FILE_SAVEAS
  43. MENUITEM SEPARATOR
  44. MENUITEM "E&xit", IDM_EXIT
  45. END
  46. POPUP "&Edit"
  47. BEGIN
  48. MENUITEM "&Undo Ctrl+Z", IDM_EDIT_UNDO, GRAYED
  49. MENUITEM "&Redo Ctrl+Y", IDM_EDIT_REDO, GRAYED
  50. MENUITEM SEPARATOR
  51. MENUITEM "C&ut Ctrl+X", IDM_EDIT_CUT, GRAYED
  52. MENUITEM "&Copy Ctrl+C", IDM_EDIT_COPY, GRAYED
  53. MENUITEM "&Paste Ctrl+V", IDM_EDIT_PASTE
  54. MENUITEM "&Delete Del", IDM_EDIT_DELETE
  55. MENUITEM SEPARATOR
  56. MENUITEM "Select A&ll Ctrl+A", IDM_EDIT_SELECTALL
  57. MENUITEM SEPARATOR
  58. MENUITEM "&Find... Ctrl+F", IDM_EDIT_FIND
  59. MENUITEM "&Go To Ctrl+G", IDM_EDIT_GOTO
  60. END
  61. POPUP "&Build"
  62. BEGIN
  63. MENUITEM "&Compile F7", IDM_BUILD_COMPILE
  64. END
  65. POPUP "&Tools"
  66. BEGIN
  67. MENUITEM "Compile and T&est Grammar F10", IDM_TESTGRAMMAR
  68. END
  69. POPUP "&Help"
  70. BEGIN
  71. MENUITEM "&About ...", IDM_ABOUT
  72. END
  73. END
  74. /////////////////////////////////////////////////////////////////////////////
  75. //
  76. // Dialog
  77. //
  78. IDD_ABOUTBOX DIALOG DISCARDABLE 22, 17, 230, 75
  79. STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
  80. CAPTION "About"
  81. FONT 8, "System"
  82. BEGIN
  83. ICON IDI_GRAMCOMP,IDC_MYICON,14,9,20,20
  84. LTEXT "Speech Grammar Compiler Version 1.0",IDC_STATIC,49,10,
  85. 139,8,SS_NOPREFIX
  86. LTEXT "Copyright (C) 2000 Microsoft Corp.",IDC_STATIC,49,20,
  87. 119,8
  88. DEFPUSHBUTTON "OK",IDOK,195,6,30,11,WS_GROUP
  89. END
  90. IDD_DIALOG_COMPILE DIALOG DISCARDABLE 0, 0, 432, 150
  91. STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
  92. CAPTION "Grammar Compiler Status"
  93. FONT 8, "MS Shell Dlg"
  94. BEGIN
  95. DEFPUSHBUTTON "OK",IDOK,191,129,50,14
  96. LISTBOX IDC_LIST_STATUS,15,33,402,88,LBS_SORT |
  97. LBS_NOINTEGRALHEIGHT | LBS_NOSEL | WS_VSCROLL |
  98. WS_HSCROLL | WS_TABSTOP
  99. LTEXT "Compilation Status:",IDC_STATUS,17,15,402,13
  100. END
  101. IDD_FIND DIALOG DISCARDABLE 0, 0, 235, 63
  102. STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
  103. CAPTION "Find"
  104. FONT 8, "MS Shell Dlg"
  105. BEGIN
  106. LTEXT "Find what:",IDC_STATIC,7,11,34,8
  107. EDITTEXT IDE_FINDTEXT,47,9,129,13,ES_AUTOHSCROLL
  108. DEFPUSHBUTTON "&Find Next",IDB_FINDNEXT,181,8,47,15
  109. PUSHBUTTON "Cancel",IDB_CANCEL,181,26,47,15
  110. CONTROL "Up",IDB_UP,"Button",BS_AUTORADIOBUTTON,113,41,24,10
  111. CONTROL "Down",IDB_DOWN,"Button",BS_AUTORADIOBUTTON,139,41,32,10
  112. GROUPBOX "Direction",IDC_STATIC,111,31,63,25
  113. CONTROL "Match Case",IDB_MATCHCASE,"Button",BS_AUTOCHECKBOX |
  114. WS_TABSTOP,13,44,62,11
  115. END
  116. IDD_TESTGRAMMAR DIALOG DISCARDABLE 0, 0, 295, 351
  117. STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
  118. CAPTION "Test Grammar"
  119. FONT 8, "MS Shell Dlg"
  120. BEGIN
  121. LTEXT "To change the Speech Recognition Engine please use the Speech Control Panel icon.",
  122. IDC_STATIC,7,334,281,10
  123. CONTROL "Begin Recognition",IDC_BEGINRECO,"Button",
  124. BS_AUTOCHECKBOX | WS_TABSTOP,45,300,73,12
  125. LTEXT "",IDC_GRAMMAR_STATUS,7,4,281,18
  126. CONTROL "Mute Microphone",IDB_MUTE,"Button",BS_AUTOCHECKBOX |
  127. WS_TABSTOP,164,302,73,12
  128. LTEXT "Emulate Recognition",IDC_STATIC,7,322,67,11
  129. EDITTEXT IDC_EDIT_PARSETEXT,75,320,145,13,ES_AUTOHSCROLL |
  130. WS_DISABLED
  131. DEFPUSHBUTTON "Submit",IDC_BUTTON_SUBMIT,224,319,64,15
  132. EDITTEXT IDC_LIST_PHRASES,7,25,281,263,ES_MULTILINE |
  133. ES_AUTOHSCROLL | ES_READONLY | WS_VSCROLL | NOT
  134. WS_TABSTOP
  135. END
  136. IDD_GOTO DIALOG DISCARDABLE 0, 0, 133, 49
  137. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  138. CAPTION "Goto Line"
  139. FONT 8, "MS Shell Dlg"
  140. BEGIN
  141. EDITTEXT IDE_LINE,7,7,64,14,ES_AUTOHSCROLL
  142. DEFPUSHBUTTON "OK",IDB_OK,76,7,50,15
  143. PUSHBUTTON "Cancel",IDB_CANCEL,76,26,50,15
  144. END
  145. #ifdef APSTUDIO_INVOKED
  146. /////////////////////////////////////////////////////////////////////////////
  147. //
  148. // TEXTINCLUDE
  149. //
  150. 2 TEXTINCLUDE DISCARDABLE
  151. BEGIN
  152. "#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
  153. "#include ""windows.h""\r\n"
  154. "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
  155. "#include ""resource.h""\r\n"
  156. "\0"
  157. END
  158. 3 TEXTINCLUDE DISCARDABLE
  159. BEGIN
  160. "#define VER_FILEDESCRIPTION_STR ""SAPI5 Grammar Compiler""\r\n"
  161. "#define VER_ORIGINALFILENAME_STR ""gramcomp.exe""\r\n"
  162. "#define VER_INTERNALNAME_STR ""GramComp""\r\n"
  163. "#include ""..\\\\..\\\\..\\\\common\\\\include\\\\sapiver.h""\r\n"
  164. "\r\n"
  165. "\r\n"
  166. "\0"
  167. END
  168. 1 TEXTINCLUDE DISCARDABLE
  169. BEGIN
  170. "resource.h\0"
  171. END
  172. #endif // APSTUDIO_INVOKED
  173. /////////////////////////////////////////////////////////////////////////////
  174. //
  175. // DESIGNINFO
  176. //
  177. #ifdef APSTUDIO_INVOKED
  178. GUIDELINES DESIGNINFO DISCARDABLE
  179. BEGIN
  180. IDD_DIALOG_COMPILE, DIALOG
  181. BEGIN
  182. LEFTMARGIN, 7
  183. RIGHTMARGIN, 425
  184. TOPMARGIN, 6
  185. BOTTOMMARGIN, 143
  186. END
  187. IDD_FIND, DIALOG
  188. BEGIN
  189. LEFTMARGIN, 7
  190. RIGHTMARGIN, 228
  191. TOPMARGIN, 7
  192. BOTTOMMARGIN, 56
  193. END
  194. IDD_TESTGRAMMAR, DIALOG
  195. BEGIN
  196. LEFTMARGIN, 7
  197. RIGHTMARGIN, 288
  198. VERTGUIDE, 30
  199. TOPMARGIN, 7
  200. BOTTOMMARGIN, 344
  201. END
  202. IDD_GOTO, DIALOG
  203. BEGIN
  204. LEFTMARGIN, 7
  205. RIGHTMARGIN, 126
  206. TOPMARGIN, 7
  207. BOTTOMMARGIN, 42
  208. END
  209. END
  210. #endif // APSTUDIO_INVOKED
  211. /////////////////////////////////////////////////////////////////////////////
  212. //
  213. // Accelerator
  214. //
  215. IDR_GRAMACCEL ACCELERATORS DISCARDABLE
  216. BEGIN
  217. "/", IDM_ABOUT, ASCII, ALT, NOINVERT
  218. "?", IDM_ABOUT, ASCII, ALT, NOINVERT
  219. "A", IDM_EDIT_SELECTALL, VIRTKEY, CONTROL, NOINVERT
  220. "C", IDM_EDIT_COPY, VIRTKEY, CONTROL, NOINVERT
  221. "F", IDM_EDIT_FIND, VIRTKEY, CONTROL, NOINVERT
  222. "G", IDM_EDIT_GOTO, VIRTKEY, CONTROL, NOINVERT
  223. "N", IDM_FILE_NEW, VIRTKEY, CONTROL, NOINVERT
  224. "O", IDM_FILE_OPEN, VIRTKEY, CONTROL, NOINVERT
  225. "S", IDM_FILE_SAVE, VIRTKEY, CONTROL, NOINVERT
  226. "V", IDM_EDIT_PASTE, VIRTKEY, CONTROL, NOINVERT
  227. VK_DELETE, IDM_EDIT_DELETE, VIRTKEY, NOINVERT
  228. VK_F10, IDM_TESTGRAMMAR, VIRTKEY, NOINVERT
  229. VK_F7, IDM_BUILD_COMPILE, VIRTKEY, NOINVERT
  230. "X", IDM_EDIT_CUT, VIRTKEY, CONTROL, NOINVERT
  231. "Y", IDM_EDIT_REDO, VIRTKEY, CONTROL, NOINVERT
  232. "Z", IDM_EDIT_UNDO, VIRTKEY, CONTROL, NOINVERT
  233. END
  234. /////////////////////////////////////////////////////////////////////////////
  235. //
  236. // String Table
  237. //
  238. STRINGTABLE DISCARDABLE
  239. BEGIN
  240. IDS_APP_TITLE "Grammar Compiler"
  241. IDC_GRAMCOMP "GRAMCOMP"
  242. IDS_CANTOPENSOURCE "Can not open source file %s. Possible incorrect arguments or path."
  243. IDS_CANTOPENDEST "Can not open destination file %s. Possible incorrect arguments or path."
  244. END
  245. STRINGTABLE DISCARDABLE
  246. BEGIN
  247. IDS_COMPILESUCCESS "Compile successful"
  248. IDS_COMPFILE "Compiling %s"
  249. IDS_COMPILEFAILURE "Compilation failed"
  250. END
  251. #endif // English (U.S.) resources
  252. /////////////////////////////////////////////////////////////////////////////
  253. #ifndef APSTUDIO_INVOKED
  254. /////////////////////////////////////////////////////////////////////////////
  255. //
  256. // Generated from the TEXTINCLUDE 3 resource.
  257. //
  258. #define VER_FILEDESCRIPTION_STR "SAPI5 Grammar Compiler"
  259. #define VER_ORIGINALFILENAME_STR "gramcomp.exe"
  260. #define VER_INTERNALNAME_STR "GramComp"
  261. #include "..\\..\\..\\common\\include\\sapiver.h"
  262. /////////////////////////////////////////////////////////////////////////////
  263. #endif // not APSTUDIO_INVOKED