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.

483 lines
16 KiB

  1. //*********************************************************************
  2. //* Microsoft Windows **
  3. //* Copyright(c) Microsoft Corp., 1996-1998 **
  4. //*********************************************************************
  5. #ifndef __mshtmcid_h__
  6. #define __mshtmcid_h__
  7. //----------------------------------------------------------------------------
  8. //
  9. // MSHTML Command IDs
  10. //
  11. //----------------------------------------------------------------------------
  12. #define IDM_UNKNOWN 0
  13. #define IDM_ALIGNBOTTOM 1
  14. #define IDM_ALIGNHORIZONTALCENTERS 2
  15. #define IDM_ALIGNLEFT 3
  16. #define IDM_ALIGNRIGHT 4
  17. #define IDM_ALIGNTOGRID 5
  18. #define IDM_ALIGNTOP 6
  19. #define IDM_ALIGNVERTICALCENTERS 7
  20. #define IDM_ARRANGEBOTTOM 8
  21. #define IDM_ARRANGERIGHT 9
  22. #define IDM_BRINGFORWARD 10
  23. #define IDM_BRINGTOFRONT 11
  24. #define IDM_CENTERHORIZONTALLY 12
  25. #define IDM_CENTERVERTICALLY 13
  26. #define IDM_CODE 14
  27. #define IDM_DELETE 17
  28. #define IDM_FONTNAME 18
  29. #define IDM_FONTSIZE 19
  30. #define IDM_GROUP 20
  31. #define IDM_HORIZSPACECONCATENATE 21
  32. #define IDM_HORIZSPACEDECREASE 22
  33. #define IDM_HORIZSPACEINCREASE 23
  34. #define IDM_HORIZSPACEMAKEEQUAL 24
  35. #define IDM_INSERTOBJECT 25
  36. #define IDM_MULTILEVELREDO 30
  37. #define IDM_SENDBACKWARD 32
  38. #define IDM_SENDTOBACK 33
  39. #define IDM_SHOWTABLE 34
  40. #define IDM_SIZETOCONTROL 35
  41. #define IDM_SIZETOCONTROLHEIGHT 36
  42. #define IDM_SIZETOCONTROLWIDTH 37
  43. #define IDM_SIZETOFIT 38
  44. #define IDM_SIZETOGRID 39
  45. #define IDM_SNAPTOGRID 40
  46. #define IDM_TABORDER 41
  47. #define IDM_TOOLBOX 42
  48. #define IDM_MULTILEVELUNDO 44
  49. #define IDM_UNGROUP 45
  50. #define IDM_VERTSPACECONCATENATE 46
  51. #define IDM_VERTSPACEDECREASE 47
  52. #define IDM_VERTSPACEINCREASE 48
  53. #define IDM_VERTSPACEMAKEEQUAL 49
  54. #define IDM_JUSTIFYFULL 50
  55. #define IDM_BACKCOLOR 51
  56. #define IDM_BOLD 52
  57. #define IDM_BORDERCOLOR 53
  58. #define IDM_FLAT 54
  59. #define IDM_FORECOLOR 55
  60. #define IDM_ITALIC 56
  61. #define IDM_JUSTIFYCENTER 57
  62. #define IDM_JUSTIFYGENERAL 58
  63. #define IDM_JUSTIFYLEFT 59
  64. #define IDM_JUSTIFYRIGHT 60
  65. #define IDM_RAISED 61
  66. #define IDM_SUNKEN 62
  67. #define IDM_UNDERLINE 63
  68. #define IDM_CHISELED 64
  69. #define IDM_ETCHED 65
  70. #define IDM_SHADOWED 66
  71. #define IDM_FIND 67
  72. #define IDM_SHOWGRID 69
  73. #define IDM_OBJECTVERBLIST0 72
  74. #define IDM_OBJECTVERBLIST1 73
  75. #define IDM_OBJECTVERBLIST2 74
  76. #define IDM_OBJECTVERBLIST3 75
  77. #define IDM_OBJECTVERBLIST4 76
  78. #define IDM_OBJECTVERBLIST5 77
  79. #define IDM_OBJECTVERBLIST6 78
  80. #define IDM_OBJECTVERBLIST7 79
  81. #define IDM_OBJECTVERBLIST8 80
  82. #define IDM_OBJECTVERBLIST9 81
  83. #define IDM_OBJECTVERBLISTLAST IDM_OBJECTVERBLIST9
  84. #define IDM_CONVERTOBJECT 82
  85. #define IDM_CUSTOMCONTROL 83
  86. #define IDM_CUSTOMIZEITEM 84
  87. #define IDM_RENAME 85
  88. #define IDM_IMPORT 86
  89. #define IDM_NEWPAGE 87
  90. #define IDM_MOVE 88
  91. #define IDM_CANCEL 89
  92. #define IDM_FONT 90
  93. #define IDM_STRIKETHROUGH 91
  94. #define IDM_DELETEWORD 92
  95. #define IDM_EXECPRINT 93
  96. #define IDM_JUSTIFYNONE 94
  97. #define IDM_TRISTATEBOLD 95
  98. #define IDM_TRISTATEITALIC 96
  99. #define IDM_TRISTATEUNDERLINE 97
  100. #define IDM_FOLLOW_ANCHOR 2008
  101. #define IDM_INSINPUTIMAGE 2114
  102. #define IDM_INSINPUTBUTTON 2115
  103. #define IDM_INSINPUTRESET 2116
  104. #define IDM_INSINPUTSUBMIT 2117
  105. #define IDM_INSINPUTUPLOAD 2118
  106. #define IDM_INSFIELDSET 2119
  107. #define IDM_PASTEINSERT 2120
  108. #define IDM_REPLACE 2121
  109. #define IDM_EDITSOURCE 2122
  110. #define IDM_BOOKMARK 2123
  111. #define IDM_HYPERLINK 2124
  112. #define IDM_UNLINK 2125
  113. #define IDM_BROWSEMODE 2126
  114. #define IDM_EDITMODE 2127
  115. #define IDM_UNBOOKMARK 2128
  116. #define IDM_TOOLBARS 2130
  117. #define IDM_STATUSBAR 2131
  118. #define IDM_FORMATMARK 2132
  119. #define IDM_TEXTONLY 2133
  120. #define IDM_OPTIONS 2135
  121. #define IDM_FOLLOWLINKC 2136
  122. #define IDM_FOLLOWLINKN 2137
  123. #define IDM_VIEWSOURCE 2139
  124. #define IDM_ZOOMPOPUP 2140
  125. // IDM_BASELINEFONT1, IDM_BASELINEFONT2, IDM_BASELINEFONT3, IDM_BASELINEFONT4,
  126. // and IDM_BASELINEFONT5 should be consecutive integers;
  127. //
  128. #define IDM_BASELINEFONT1 2141
  129. #define IDM_BASELINEFONT2 2142
  130. #define IDM_BASELINEFONT3 2143
  131. #define IDM_BASELINEFONT4 2144
  132. #define IDM_BASELINEFONT5 2145
  133. #define IDM_HORIZONTALLINE 2150
  134. #define IDM_LINEBREAKNORMAL 2151
  135. #define IDM_LINEBREAKLEFT 2152
  136. #define IDM_LINEBREAKRIGHT 2153
  137. #define IDM_LINEBREAKBOTH 2154
  138. #define IDM_NONBREAK 2155
  139. #define IDM_SPECIALCHAR 2156
  140. #define IDM_HTMLSOURCE 2157
  141. #define IDM_IFRAME 2158
  142. #define IDM_HTMLCONTAIN 2159
  143. #define IDM_TEXTBOX 2161
  144. #define IDM_TEXTAREA 2162
  145. #define IDM_CHECKBOX 2163
  146. #define IDM_RADIOBUTTON 2164
  147. #define IDM_DROPDOWNBOX 2165
  148. #define IDM_LISTBOX 2166
  149. #define IDM_BUTTON 2167
  150. #define IDM_IMAGE 2168
  151. #define IDM_OBJECT 2169
  152. #define IDM_1D 2170
  153. #define IDM_IMAGEMAP 2171
  154. #define IDM_FILE 2172
  155. #define IDM_COMMENT 2173
  156. #define IDM_SCRIPT 2174
  157. #define IDM_JAVAAPPLET 2175
  158. #define IDM_PLUGIN 2176
  159. #define IDM_PAGEBREAK 2177
  160. #define IDM_HTMLAREA 2178
  161. #define IDM_PARAGRAPH 2180
  162. #define IDM_FORM 2181
  163. #define IDM_MARQUEE 2182
  164. #define IDM_LIST 2183
  165. #define IDM_ORDERLIST 2184
  166. #define IDM_UNORDERLIST 2185
  167. #define IDM_INDENT 2186
  168. #define IDM_OUTDENT 2187
  169. #define IDM_PREFORMATTED 2188
  170. #define IDM_ADDRESS 2189
  171. #define IDM_BLINK 2190
  172. #define IDM_DIV 2191
  173. #define IDM_TABLEINSERT 2200
  174. #define IDM_RCINSERT 2201
  175. #define IDM_CELLINSERT 2202
  176. #define IDM_CAPTIONINSERT 2203
  177. #define IDM_CELLMERGE 2204
  178. #define IDM_CELLSPLIT 2205
  179. #define IDM_CELLSELECT 2206
  180. #define IDM_ROWSELECT 2207
  181. #define IDM_COLUMNSELECT 2208
  182. #define IDM_TABLESELECT 2209
  183. #define IDM_TABLEPROPERTIES 2210
  184. #define IDM_CELLPROPERTIES 2211
  185. #define IDM_ROWINSERT 2212
  186. #define IDM_COLUMNINSERT 2213
  187. #define IDM_HELP_CONTENT 2220
  188. #define IDM_HELP_ABOUT 2221
  189. #define IDM_HELP_README 2222
  190. #define IDM_REMOVEFORMAT 2230
  191. #define IDM_PAGEINFO 2231
  192. #define IDM_TELETYPE 2232
  193. #define IDM_GETBLOCKFMTS 2233
  194. #define IDM_BLOCKFMT 2234
  195. #define IDM_SHOWHIDE_CODE 2235
  196. #define IDM_TABLE 2236
  197. #define IDM_COPYFORMAT 2237
  198. #define IDM_PASTEFORMAT 2238
  199. #define IDM_GOTO 2239
  200. #define IDM_CHANGEFONT 2240
  201. #define IDM_CHANGEFONTSIZE 2241
  202. #define IDM_CHANGECASE 2246
  203. #define IDM_SHOWSPECIALCHAR 2249
  204. #define IDM_SUBSCRIPT 2247
  205. #define IDM_SUPERSCRIPT 2248
  206. #define IDM_CENTERALIGNPARA 2250
  207. #define IDM_LEFTALIGNPARA 2251
  208. #define IDM_RIGHTALIGNPARA 2252
  209. #define IDM_REMOVEPARAFORMAT 2253
  210. #define IDM_APPLYNORMAL 2254
  211. #define IDM_APPLYHEADING1 2255
  212. #define IDM_APPLYHEADING2 2256
  213. #define IDM_APPLYHEADING3 2257
  214. #define IDM_DOCPROPERTIES 2260
  215. #define IDM_ADDFAVORITES 2261
  216. #define IDM_COPYSHORTCUT 2262
  217. #define IDM_SAVEBACKGROUND 2263
  218. #define IDM_SETWALLPAPER 2264
  219. #define IDM_COPYBACKGROUND 2265
  220. #define IDM_CREATESHORTCUT 2266
  221. #define IDM_PAGE 2267
  222. #define IDM_SAVETARGET 2268
  223. #define IDM_SHOWPICTURE 2269
  224. #define IDM_SAVEPICTURE 2270
  225. #define IDM_DYNSRCPLAY 2271
  226. #define IDM_DYNSRCSTOP 2272
  227. #define IDM_PRINTTARGET 2273
  228. #define IDM_IMGARTPLAY 2274
  229. #define IDM_IMGARTSTOP 2275
  230. #define IDM_IMGARTREWIND 2276
  231. #define IDM_PRINTQUERYJOBSPENDING 2277
  232. #define IDM_SETDESKTOPITEM 2278
  233. #define IDM_CONTEXTMENU 2280
  234. #define IDM_GOBACKWARD 2282
  235. #define IDM_GOFORWARD 2283
  236. #define IDM_PRESTOP 2284
  237. #define IDM_MP_MYPICS 2287
  238. #define IDM_MP_EMAILPICTURE 2288
  239. #define IDM_MP_PRINTPICTURE 2289
  240. #define IDM_CREATELINK 2290
  241. #define IDM_COPYCONTENT 2291
  242. #define IDM_LANGUAGE 2292
  243. #define IDM_GETPRINTTEMPLATE 2295
  244. #define IDM_SETPRINTTEMPLATE 2296
  245. #define IDM_TEMPLATE_PAGESETUP 2298
  246. #define IDM_REFRESH 2300
  247. #define IDM_STOPDOWNLOAD 2301
  248. #define IDM_ENABLE_INTERACTION 2302
  249. #define IDM_LAUNCHDEBUGGER 2310
  250. #define IDM_BREAKATNEXT 2311
  251. #define IDM_INSINPUTHIDDEN 2312
  252. #define IDM_INSINPUTPASSWORD 2313
  253. #define IDM_OVERWRITE 2314
  254. #define IDM_PARSECOMPLETE 2315
  255. #define IDM_HTMLEDITMODE 2316
  256. #define IDM_REGISTRYREFRESH 2317
  257. #define IDM_COMPOSESETTINGS 2318
  258. #define IDM_SHOWALLTAGS 2327
  259. #define IDM_SHOWALIGNEDSITETAGS 2321
  260. #define IDM_SHOWSCRIPTTAGS 2322
  261. #define IDM_SHOWSTYLETAGS 2323
  262. #define IDM_SHOWCOMMENTTAGS 2324
  263. #define IDM_SHOWAREATAGS 2325
  264. #define IDM_SHOWUNKNOWNTAGS 2326
  265. #define IDM_SHOWMISCTAGS 2320
  266. #define IDM_SHOWZEROBORDERATDESIGNTIME 2328
  267. #define IDM_AUTODETECT 2329
  268. #define IDM_SCRIPTDEBUGGER 2330
  269. #define IDM_GETBYTESDOWNLOADED 2331
  270. #define IDM_NOACTIVATENORMALOLECONTROLS 2332
  271. #define IDM_NOACTIVATEDESIGNTIMECONTROLS 2333
  272. #define IDM_NOACTIVATEJAVAAPPLETS 2334
  273. #define IDM_NOFIXUPURLSONPASTE 2335
  274. #define IDM_EMPTYGLYPHTABLE 2336
  275. #define IDM_ADDTOGLYPHTABLE 2337
  276. #define IDM_REMOVEFROMGLYPHTABLE 2338
  277. #define IDM_REPLACEGLYPHCONTENTS 2339
  278. #define IDM_SHOWWBRTAGS 2340
  279. #define IDM_PERSISTSTREAMSYNC 2341
  280. #define IDM_SETDIRTY 2342
  281. #define IDM_RUNURLSCRIPT 2343
  282. #ifdef IE5_ZOOM
  283. #define IDM_ZOOMRATIO 2344
  284. #define IDM_GETZOOMNUMERATOR 2345
  285. #define IDM_GETZOOMDENOMINATOR 2346
  286. #endif // IE5_ZOOM
  287. // COMMANDS FOR COMPLEX TEXT
  288. #define IDM_DIRLTR 2350
  289. #define IDM_DIRRTL 2351
  290. #define IDM_BLOCKDIRLTR 2352
  291. #define IDM_BLOCKDIRRTL 2353
  292. #define IDM_INLINEDIRLTR 2354
  293. #define IDM_INLINEDIRRTL 2355
  294. // SHDOCVW
  295. #define IDM_ISTRUSTEDDLG 2356
  296. // MSHTMLED
  297. #define IDM_INSERTSPAN 2357
  298. #define IDM_LOCALIZEEDITOR 2358
  299. // XML MIMEVIEWER
  300. #define IDM_SAVEPRETRANSFORMSOURCE 2370
  301. #define IDM_VIEWPRETRANSFORMSOURCE 2371
  302. // Scrollbar context menu
  303. #define IDM_SCROLL_HERE 2380
  304. #define IDM_SCROLL_TOP 2381
  305. #define IDM_SCROLL_BOTTOM 2382
  306. #define IDM_SCROLL_PAGEUP 2383
  307. #define IDM_SCROLL_PAGEDOWN 2384
  308. #define IDM_SCROLL_UP 2385
  309. #define IDM_SCROLL_DOWN 2386
  310. #define IDM_SCROLL_LEFTEDGE 2387
  311. #define IDM_SCROLL_RIGHTEDGE 2388
  312. #define IDM_SCROLL_PAGELEFT 2389
  313. #define IDM_SCROLL_PAGERIGHT 2390
  314. #define IDM_SCROLL_LEFT 2391
  315. #define IDM_SCROLL_RIGHT 2392
  316. // IE 6 Form Editing Commands
  317. #define IDM_MULTIPLESELECTION 2393
  318. #define IDM_2D_POSITION 2394
  319. #define IDM_2D_ELEMENT 2395
  320. #define IDM_1D_ELEMENT 2396
  321. #define IDM_ABSOLUTE_POSITION 2397
  322. #define IDM_LIVERESIZE 2398
  323. #define IDM_ATOMICSELECTION 2399
  324. // Auto URL detection mode
  325. #define IDM_AUTOURLDETECT_MODE 2400
  326. // Legacy IE50 compatible paste
  327. #define IDM_IE50_PASTE 2401
  328. // ie50 paste mode
  329. #define IDM_IE50_PASTE_MODE 2402
  330. //;begin_internal
  331. #define IDM_GETIPRINT 2403
  332. //;end_internal
  333. // for disabling selection handles
  334. #define IDM_DISABLE_EDITFOCUS_UI 2404
  335. // for visibility/display in design
  336. #define IDM_RESPECTVISIBILITY_INDESIGN 2405
  337. // set css mode
  338. #define IDM_CSSEDITING_LEVEL 2406
  339. // New outdent
  340. #define IDM_UI_OUTDENT 2407
  341. // Printing Status
  342. #define IDM_UPDATEPAGESTATUS 2408
  343. // IME Reconversion
  344. #define IDM_IME_ENABLE_RECONVERSION 2409
  345. #define IDM_KEEPSELECTION 2410
  346. #define IDM_UNLOADDOCUMENT 2411
  347. #define IDM_OVERRIDE_CURSOR 2420
  348. #define IDM_PEERHITTESTSAMEINEDIT 2423
  349. #define IDM_TRUSTAPPCACHE 2425
  350. #define IDM_BACKGROUNDIMAGECACHE 2430
  351. #define IDM_DEFAULTBLOCK 6046
  352. #define IDM_MIMECSET__FIRST__ 3609
  353. #define IDM_MIMECSET__LAST__ 3699
  354. #define IDM_MENUEXT_FIRST__ 3700
  355. #define IDM_MENUEXT_LAST__ 3732
  356. #define IDM_MENUEXT_COUNT 3733
  357. // Commands mapped from the standard set. We should
  358. // consider deleting them from public header files.
  359. #define IDM_OPEN 2000
  360. #define IDM_NEW 2001
  361. #define IDM_SAVE 70
  362. #define IDM_SAVEAS 71
  363. #define IDM_SAVECOPYAS 2002
  364. #define IDM_PRINTPREVIEW 2003
  365. #define IDM_SHOWPRINT 2010
  366. #define IDM_SHOWPAGESETUP 2011
  367. #define IDM_PRINT 27
  368. #define IDM_PAGESETUP 2004
  369. #define IDM_SPELL 2005
  370. #define IDM_PASTESPECIAL 2006
  371. #define IDM_CLEARSELECTION 2007
  372. #define IDM_PROPERTIES 28
  373. #define IDM_REDO 29
  374. #define IDM_UNDO 43
  375. #define IDM_SELECTALL 31
  376. #define IDM_ZOOMPERCENT 50
  377. #define IDM_GETZOOM 68
  378. #define IDM_STOP 2138
  379. #define IDM_COPY 15
  380. #define IDM_CUT 16
  381. #define IDM_PASTE 26
  382. // Defines for IDM_ZOOMPERCENT
  383. #define CMD_ZOOM_PAGEWIDTH -1
  384. #define CMD_ZOOM_ONEPAGE -2
  385. #define CMD_ZOOM_TWOPAGES -3
  386. #define CMD_ZOOM_SELECTION -4
  387. #define CMD_ZOOM_FIT -5
  388. // IDMs for CGID_EditStateCommands group
  389. #define IDM_CONTEXT 1
  390. #define IDM_HWND 2
  391. // Shdocvw Execs on CGID_DocHostCommandHandler
  392. #define IDM_NEW_TOPLEVELWINDOW 7050
  393. //
  394. // Undo persistence comands
  395. //
  396. #define IDM_PRESERVEUNDOALWAYS 6049
  397. #define IDM_PERSISTDEFAULTVALUES 7100
  398. #define IDM_PROTECTMETATAGS 7101
  399. #define IDM_GETFRAMEZONE 6037
  400. //;begin_internal
  401. // <New in IE6>
  402. #define IDM_FIRE_PRINTTEMPLATEUP 15000
  403. #define IDM_FIRE_PRINTTEMPLATEDOWN 15001
  404. #define IDM_SETPRINTHANDLES 15002
  405. #define IDM_CLEARAUTHENTICATIONCACHE 15003
  406. //;end_internal
  407. #endif