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.

326 lines
10 KiB

  1. // IDs and flags defined for SAPI TFX
  2. #ifndef IDS_H
  3. #define IDS_H
  4. #define ESCB_PROCESSTEXT 0
  5. #define ESCB_ATTACHAUDIO 1
  6. #define ESCB_ATTACHRESULT 2
  7. #define ESCB_FEEDBACKUI 3
  8. #define ESCB_KILLFEEDBACKUI 4
  9. #define ESCB_KILLLASTPHRASE 5
  10. #define ESCB_MAKERESULTSTRING 6
  11. #define ESCB_CONVERT 7
  12. #define ESCB_REVERT 8
  13. #define ESCB_ABORT 9
  14. #define ESCB_COMPLETE 10
  15. #define ESCB_PROCESS_ALTERNATE_TEXT 11
  16. #define ESCB_ATTACHRECORESULTOBJ 12
  17. #define ESCB_SYNCMBWITHSEL 13
  18. #define ESCB_GETRANGETEXT 14
  19. #define ESCB_ISRANGEEMPTY 15
  20. #define ESCB_HANDLEHYPOTHESIS 16
  21. #define ESCB_HANDLERECOGNITION 17
  22. #define ESCB_HANDLESPACES 18
  23. #define ESCB_DETECTFEEDBACKUI 19
  24. #define ESCB_PLAYBK_PLAYSND 20
  25. #define ESCB_RECONV_QUERYRECONV 21
  26. #define ESCB_RECONV_GETRECONV 22
  27. #define ESCB_RECONV_RECONV 23
  28. #define ESCB_PLAYBK_PLAYSNDSELECTION 24
  29. #define ESCB_RECONV_ONIP 25
  30. #define ESCB_FINALIZECOMP 26
  31. #define ESCB_PROCESSTEXT_NO_OWNERID 27
  32. #define ESCB_FINALIZE_ALL_COMPS 28
  33. #define ESCB_UPDATEFILTERSTR 30
  34. #define ESCB_PROP_DIVIDE 40
  35. #define ESCB_PROP_TEXTUPDATE 41
  36. #define ESCB_PROP_SHRINK 42
  37. #define ESCB_HANDLE_ADDDELETE_WORD 50
  38. #define ESCB_HANDLE_LEARNFROMDOC 51
  39. #define ESCB_LEARNDOC_NEXTRANGE 52
  40. #define ESCB_PROCESSCONTROLKEY 60
  41. #define ESCB_FEEDCURRENTIP 61
  42. #define ESCB_SETREPSELECTION 70
  43. #define ESCB_SAVECURIP_ADDDELETEUI 71
  44. #define ESCB_PROCESSSELECTWORD 80
  45. #define ESCB_UPDATE_TEXT_BUFFER 81
  46. #define ESCB_PROCESS_CAP_COMMANDS 82
  47. #define ESCB_TTS_PLAY 90
  48. #define ESCB_RESTORE_CORRECT_ORGIP 100
  49. #define ESCB_PROCESS_EDIT_COMMAND 110
  50. #define ESCB_PROCESS_SPELL_THAT 111
  51. #define ESCB_PROCESS_SPELL_IT 112
  52. #define ESCB_PROCESS_MODEBIAS_TEXT 113
  53. #define ESCB_INJECT_SPELL_TEXT 120
  54. #define ESCB_HANDLE_MOUSESINK 121
  55. // status flags
  56. #define SAPILAYR_STAT_GETAUDIO 0x0100
  57. #define SAPILAYR_STAT_DICTON 0x0200
  58. #define SAPILAYR_STAT_PLAYBACK 0x0400
  59. #define SAPILAYR_STAT_WHATEVER 0x0800
  60. // res ids
  61. #define ID_ICON_DICTON 1
  62. #define ID_ICON_DICTOFF 2
  63. #define ID_ICON_AUDIOON 3
  64. #define ID_ICON_AUDIOOFF 4
  65. #define ID_ICON_CFGMENU 5
  66. #define ID_ICON_MICROPHONE 6
  67. #define ID_ICON_COMMANDING 7
  68. #define ID_ICON_DICTATION 8
  69. #define ID_ICON_TTSPLAY 9
  70. #define ID_ICON_TTSSTOP 10
  71. #define ID_ICON_TTSPAUSE 11
  72. #define ID_ICON_MIC_PROPPAGE 12
  73. // grammar ids
  74. #define GRAM_ID_DICT 1 // general dictation grammar id
  75. #define GRAM_ID_CCDICT 2 // dictation command grammar id
  76. #define GRAM_ID_NUMMODE 3 // mode bias grammar id
  77. #define GRAM_ID_TBCMD 4 // grammar id for toolbar C&C
  78. #define GRAM_ID_SPELLING 5 // grammar id for spelling
  79. #define GRAM_ID_CMDSHARED 6 // grammar id for shared commands available for both Dictation and command mode.
  80. #define GRAM_ID_SLEEP 7 // dynamical grammar for "Go to Sleep" and "Wakeup"
  81. #define GRAM_ID_URLSPELL 8 // grammar id for spelling used in url mode
  82. #define RULE_ID_TBCMD 10 // grammar rule id for toolbar
  83. #define RULE_ID_URLHIST 11 // grammar rule id for url history
  84. // string ids
  85. // Next default values for new objects
  86. //
  87. #ifdef APSTUDIO_INVOKED
  88. #ifndef APSTUDIO_READONLY_SYMBOLS
  89. #define _APS_NEXT_RESOURCE_VALUE 204
  90. #define _APS_NEXT_COMMAND_VALUE 32768
  91. #define _APS_NEXT_CONTROL_VALUE 201
  92. #define _APS_NEXT_SYMED_VALUE 104
  93. #endif
  94. #endif
  95. #define IDS_CMD_FILE 100
  96. #define IDS_NUMMODE_CMD_FILE 101
  97. #define IDS_SHARDCMD_FILE 102
  98. #define IDS_INT_NONE 200
  99. #define IDS_INT_NOISE 201
  100. #define IDS_INT_NOSIGNAL 202
  101. #define IDS_INT_TOOLOUD 203
  102. #define IDS_INT_TOOQUIET 204
  103. #define IDS_INT_TOOFAST 205
  104. #define IDS_INT_TOOSLOW 206
  105. #define IDS_INTTOOLTIP_NONE 210
  106. #define IDS_INTTOOLTIP_NOISE 211
  107. #define IDS_INTTOOLTIP_NOSIGNAL 212
  108. #define IDS_INTTOOLTIP_TOOLOUD 213
  109. #define IDS_INTTOOLTIP_TOOQUIET 214
  110. #define IDS_INTTOOLTIP_TOOFAST 215
  111. #define IDS_INTTOOLTIP_TOOSLOW 216
  112. #define IDS_DICTATING 217
  113. #define IDS_DICTATING_TOOLTIP 218
  114. #define IDS_UI_TRAINING 300
  115. #define IDS_UI_ADDDELETE 301
  116. // menu strings
  117. #define IDS_MIC_DIS_DICTCMD 390
  118. #define IDS_MIC_OPTIONS 400
  119. #define IDS_MIC_TRAINING 401
  120. #define IDS_MIC_ADDDELETE 402
  121. #define IDS_MIC_CURRENTUSER 403
  122. #define IDS_MIC_SAVEDATA 404
  123. #define IDS_NUI_CFGMENU_TOOLTIP 405
  124. #define IDS_NUI_CFGMENU_TEXT 406
  125. #define IDS_NUI_BALLOON_TOOLTIP 407
  126. #define IDS_NUI_BALLOON_TEXT 408
  127. #define IDS_NUI_MICROPHONE_TOOLTIP 409
  128. #define IDS_NUI_MICROPHONE_TEXT 410
  129. #define IDS_NUI_COMMANDING_TOOLTIP 411
  130. #define IDS_NUI_COMMANDING_TEXT 412
  131. #define IDS_NUI_DICTATION_TOOLTIP 413
  132. #define IDS_NUI_DICTATION_TEXT 414
  133. #define IDS_NUI_STARTINGSPEECH 415
  134. #define IDS_NUI_BEGINDICTATION 416
  135. #define IDS_NUI_BEGINVOICECMD 417
  136. #define IDS_MIC_SHOWBALLOON 420
  137. #define IDS_MIC_CUASSTATUS 421
  138. #ifdef CHANGE_MIC_TOOLTIP_ONTHEFLY
  139. #define IDS_NUI_MICROPHONE_ON_TOOLTIP 430
  140. #define IDS_NUI_MICROPHONE_OFF_TOOLTIP 431
  141. #endif
  142. #define IDS_NUI_TTSPLAY_TOOLTIP 450
  143. #define IDS_NUI_TTSPLAY_TEXT 451
  144. #define IDS_NUI_TTSSTOP_TOOLTIP 452
  145. #define IDS_NUI_TTSSTOP_TEXT 453
  146. #define IDS_NUI_TTSPAUSE_TOOLTIP 454
  147. #define IDS_NUI_TTSPAUSE_TEXT 455
  148. #define IDS_NUI_TTSRESUME_TOOLTIP 456
  149. #define IDS_NUI_TTSRESUME_TEXT 457
  150. #define IDS_NO_ALTERNATE 500
  151. #define IDS_DEFAULT_PROFILE 600
  152. #define IDS_LISTENING 700
  153. #define IDS_LISTENING_TOOLTIP 701
  154. #define IDS_BALLOON_DICTAT_PAUSED 702
  155. #define IDS_BALLOON_TOOLTIP_IP_INSIDE_WORD 703
  156. #define IDS_BALLOON_TOOLTIP_TYPING 704
  157. #define IDS_CANDBTN_HELP_TOOLTIP 720
  158. #define IDS_CANDBTN_DELETE_TOOLTIP 721
  159. #define IDS_CANDBTN_PREVIOUS_TOOLTIP 722
  160. #define IDS_CANDBTN_NEXT_TOOLTIP 723
  161. #define IDS_CANDBTN_PLAY_TOOLTIP 724
  162. #define IDS_GO_TO_SLEEP 750
  163. #define IDS_WAKE_UP 751
  164. #define IDS_PROPERTYPAGE_TITLE 760
  165. #define IDS_HELPFILESpPropPage 761
  166. #define IDS_DOCSTRINGSpPropPage 762
  167. #define IDS_SPCMD_SELECT_ALL 800
  168. #define IDS_SPCMD_SELECT_THAT 801
  169. #define IDS_REPLAY 810
  170. #define IDS_DELETE 811
  171. #define IDS_REDO 812
  172. #define IDS_CUAS_RESTART_TITLE 850
  173. #define IDS_CUAS_RESTART_CUASON 851
  174. #define IDS_CUAS_RESTART_CUASOFF 852
  175. // widget
  176. #define IDS_PROJNAME 900
  177. #define IDI_INVOKE 902
  178. #define IDS_ADDTODICTIONARYPREFIX 902
  179. #define ID_HIDETIMER 903
  180. #define IDS_ADDTODICTIONARYPOSTFIX 903
  181. #define ID_FADETIMER 904
  182. #define IDS_DELETESELECTION 904
  183. #define ID_MOUSELEAVETIMER 905
  184. #define IDI_DELETEICON 911
  185. #define IDI_INVOKECLOSE 913
  186. // cfgs
  187. #define ID_DICTATION_COMMAND_CFG 200
  188. #define ID_NUMMODE_COMMAND_CFG 201
  189. #define ID_SPELLING_TOPIC_CFG 202
  190. #define ID_SHAREDCMD_CFG 203
  191. // timer ID
  192. #define TIMER_ID_OPENCLOSE 101
  193. #define TIMER_ID_CHARTYPED 102
  194. // menu IDs
  195. #define IDM_MIC_ONOFF 1
  196. #define IDM_MIC_OPTIONS 2
  197. #define IDM_MIC_SHAREDENGINE 3
  198. #define IDM_MIC_INPROCENGINE 4
  199. #define IDM_MIC_TRAINING 5
  200. #define IDM_MIC_ADDDELETE 6
  201. #define IDM_MIC_CURRENTUSER 8
  202. #define IDM_MIC_SAVEDATA 9
  203. #define IDM_MIC_SHOWBALLOON 10
  204. #define IDM_MIC_DIS_DICTCMD 11
  205. #define IDM_MIC_CUASSTATUS 12
  206. #define IDM_MIC_USERSTART 100
  207. #define IDM_MIC_USEREND 200
  208. // private messages
  209. #define WM_PRIV_FEEDCONTEXT WM_APP+0
  210. #define WM_PRIV_LBARSETFOCUS WM_APP+1
  211. #define WM_PRIV_SPEECHOPTION WM_APP+2
  212. #define WM_PRIV_ONSETTHREADFOCUS WM_APP+3
  213. #define WM_PRIV_SPEECHOPENCLOSE WM_APP+4
  214. #define WM_PRIV_OPTIONS WM_APP+5
  215. #define WM_PRIV_ADDDELETE WM_APP+6
  216. #define WM_PRIV_DORECONVERT WM_APP+7
  217. // lbarsystemmenuitem
  218. #define IDM_CUSTOM_MENU_START 7000
  219. // Dialog ID
  220. #define IDD_OPEN_ADD_DELETE 1000
  221. #define IDD_PROPERTY_PAGE 1001
  222. #define IDD_PP_DIALOG_ADVANCE 1002
  223. #define IDD_PP_DIALOG_BUTTON_SET 1003
  224. // Item Id in the property page dialog
  225. #define IDC_GP_VOICE_COMMANDS 2000
  226. #define IDC_GP_MODE_BUTTONS 2001
  227. #define IDC_PP_SHOW_BALLOON 2010
  228. #define IDC_PP_LMA 2011
  229. #define IDC_PP_HIGH_CONFIDENCE 2012
  230. #define IDC_PP_SAVE_SPDATA 2013
  231. #define IDC_PP_REMOVE_SPACE 2014
  232. #define IDC_PP_DIS_DICT_TYPING 2015
  233. #define IDC_PP_PLAYBACK 2016
  234. #define IDC_PP_DICT_CANDUI_OPEN 2017
  235. #define IDC_PP_DICTCMDS 2018
  236. #define IDC_PP_ASSIGN_BUTTON 2019
  237. #define IDC_PP_BUTTON_MB_SETTING 2020
  238. #define IDC_PP_BUTTON_ADVANCE 2030
  239. #define IDC_PP_BUTTON_LANGBAR 2031
  240. #define IDC_PP_BUTTON_SPCPL 2032
  241. #define IDC_DESCRIPT_TEXT (-1)
  242. // For voice command Setting dialog
  243. #define IDC_GP_ADVANCE_SET 2100
  244. #define IDC_PP_SELECTION_CMD 2110
  245. #define IDC_PP_NAVIGATION_CMD 2111
  246. #define IDC_PP_CASING_CMD 2112
  247. #define IDC_PP_EDITING_CMD 2113
  248. #define IDC_PP_KEYBOARD_CMD 2114
  249. #define IDC_PP_LANGBAR_CMD 2115
  250. #define IDC_PP_TTS_CMD 2116
  251. //#define IDC_PP_MAXNUM_ALTERNATES 2118
  252. //#define IDC_PP_MAXCHARS_ALTERNATE 2119
  253. #define IDC_PP_DICTATION_CMB 2200
  254. #define IDC_PP_COMMAND_CMB 2201
  255. // Candidate UI Buttons ID
  256. #define ID_CANDBTN_HELP 100
  257. #define ID_CANDBTN_DELETE 101
  258. //#define ID_CANDBTN_PREVIOUS 102
  259. //#define ID_CANDBTN_NEXT 103
  260. #define ID_CANDBTN_PLAY 104
  261. #endif // IDS_H