home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / mshtmcid.h < prev    next >
C/C++ Source or Header  |  1998-04-25  |  13KB  |  345 lines

  1. //*********************************************************************
  2. //*                  Microsoft Windows                               **
  3. //*            Copyright(c) Microsoft Corp., 1996-1998               **
  4. //*********************************************************************
  5.  
  6. #ifndef __mshtmcid_h__
  7. #define __mshtmcid_h__
  8.  
  9. //----------------------------------------------------------------------------
  10. //
  11. // MSHTML Command IDs
  12. //
  13. //----------------------------------------------------------------------------
  14.  
  15. #define IDM_UNKNOWN                 0
  16. #define IDM_ALIGNBOTTOM             1
  17. #define IDM_ALIGNHORIZONTALCENTERS  2
  18. #define IDM_ALIGNLEFT               3
  19. #define IDM_ALIGNRIGHT              4
  20. #define IDM_ALIGNTOGRID             5
  21. #define IDM_ALIGNTOP                6
  22. #define IDM_ALIGNVERTICALCENTERS    7
  23. #define IDM_ARRANGEBOTTOM           8
  24. #define IDM_ARRANGERIGHT            9
  25. #define IDM_BRINGFORWARD            10
  26. #define IDM_BRINGTOFRONT            11
  27. #define IDM_CENTERHORIZONTALLY      12
  28. #define IDM_CENTERVERTICALLY        13
  29. #define IDM_CODE                    14
  30. #define IDM_DELETE                  17
  31. #define IDM_FONTNAME                18
  32. #define IDM_FONTSIZE                19
  33. #define IDM_GROUP                   20
  34. #define IDM_HORIZSPACECONCATENATE   21
  35. #define IDM_HORIZSPACEDECREASE      22
  36. #define IDM_HORIZSPACEINCREASE      23
  37. #define IDM_HORIZSPACEMAKEEQUAL     24
  38. #define IDM_INSERTOBJECT            25
  39. #define IDM_MULTILEVELREDO          30
  40. #define IDM_SENDBACKWARD            32
  41. #define IDM_SENDTOBACK              33
  42. #define IDM_SHOWTABLE               34
  43. #define IDM_SIZETOCONTROL           35
  44. #define IDM_SIZETOCONTROLHEIGHT     36
  45. #define IDM_SIZETOCONTROLWIDTH      37
  46. #define IDM_SIZETOFIT               38
  47. #define IDM_SIZETOGRID              39
  48. #define IDM_SNAPTOGRID              40
  49. #define IDM_TABORDER                41
  50. #define IDM_TOOLBOX                 42
  51. #define IDM_MULTILEVELUNDO          44
  52. #define IDM_UNGROUP                 45
  53. #define IDM_VERTSPACECONCATENATE    46
  54. #define IDM_VERTSPACEDECREASE       47
  55. #define IDM_VERTSPACEINCREASE       48
  56. #define IDM_VERTSPACEMAKEEQUAL      49
  57. #define IDM_JUSTIFYFULL             50
  58. #define IDM_BACKCOLOR               51
  59. #define IDM_BOLD                    52
  60. #define IDM_BORDERCOLOR             53
  61. #define IDM_FLAT                    54
  62. #define IDM_FORECOLOR               55
  63. #define IDM_ITALIC                  56
  64. #define IDM_JUSTIFYCENTER           57
  65. #define IDM_JUSTIFYGENERAL          58
  66. #define IDM_JUSTIFYLEFT             59
  67. #define IDM_JUSTIFYRIGHT            60
  68. #define IDM_RAISED                  61
  69. #define IDM_SUNKEN                  62
  70. #define IDM_UNDERLINE               63
  71. #define IDM_CHISELED                64
  72. #define IDM_ETCHED                  65
  73. #define IDM_SHADOWED                66
  74. #define IDM_FIND                    67
  75. #define IDM_SHOWGRID                69
  76. #define IDM_OBJECTVERBLIST0         72
  77. #define IDM_OBJECTVERBLIST1         73
  78. #define IDM_OBJECTVERBLIST2         74
  79. #define IDM_OBJECTVERBLIST3         75
  80. #define IDM_OBJECTVERBLIST4         76
  81. #define IDM_OBJECTVERBLIST5         77
  82. #define IDM_OBJECTVERBLIST6         78
  83. #define IDM_OBJECTVERBLIST7         79
  84. #define IDM_OBJECTVERBLIST8         80
  85. #define IDM_OBJECTVERBLIST9         81
  86. #define IDM_OBJECTVERBLISTLAST IDM_OBJECTVERBLIST9
  87. #define IDM_CONVERTOBJECT           82
  88. #define IDM_CUSTOMCONTROL           83
  89. #define IDM_CUSTOMIZEITEM           84
  90. #define IDM_RENAME                  85
  91. #define IDM_IMPORT                  86
  92. #define IDM_NEWPAGE                 87
  93. #define IDM_MOVE                    88
  94. #define IDM_CANCEL                  89
  95. #define IDM_FONT                    90
  96. #define IDM_STRIKETHROUGH           91
  97. #define IDM_DELETEWORD              92
  98.  
  99. #define IDM_FOLLOW_ANCHOR           2008
  100.  
  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.  
  108. #define IDM_PASTEINSERT             2120
  109. #define IDM_REPLACE                 2121
  110. #define IDM_EDITSOURCE              2122
  111. #define IDM_BOOKMARK                2123
  112. #define IDM_HYPERLINK               2124
  113. #define IDM_UNLINK                  2125
  114. #define IDM_BROWSEMODE              2126
  115. #define IDM_EDITMODE                2127
  116. #define IDM_UNBOOKMARK              2128
  117.  
  118. #define IDM_TOOLBARS                2130
  119. #define IDM_STATUSBAR               2131
  120. #define IDM_FORMATMARK              2132
  121. #define IDM_TEXTONLY                2133
  122. #define IDM_OPTIONS                 2135
  123. #define IDM_FOLLOWLINKC             2136
  124. #define IDM_FOLLOWLINKN             2137
  125. #define IDM_VIEWSOURCE              2139
  126. #define IDM_ZOOMPOPUP               2140
  127.  
  128. // IDM_BASELINEFONT1, IDM_BASELINEFONT2, IDM_BASELINEFONT3, IDM_BASELINEFONT4,
  129. // and IDM_BASELINEFONT5 should be consecutive integers;
  130. //
  131. #define IDM_BASELINEFONT1           2141
  132. #define IDM_BASELINEFONT2           2142
  133. #define IDM_BASELINEFONT3           2143
  134. #define IDM_BASELINEFONT4           2144
  135. #define IDM_BASELINEFONT5           2145
  136.  
  137. #define IDM_HORIZONTALLINE          2150
  138. #define IDM_LINEBREAKNORMAL         2151
  139. #define IDM_LINEBREAKLEFT           2152
  140. #define IDM_LINEBREAKRIGHT          2153
  141. #define IDM_LINEBREAKBOTH           2154
  142. #define IDM_NONBREAK                2155
  143. #define IDM_SPECIALCHAR             2156
  144. #define IDM_HTMLSOURCE              2157
  145. #define IDM_IFRAME                  2158
  146. #define IDM_HTMLCONTAIN             2159
  147. #define IDM_TEXTBOX                 2161
  148. #define IDM_TEXTAREA                2162
  149. #define IDM_CHECKBOX                2163
  150. #define IDM_RADIOBUTTON             2164
  151. #define IDM_DROPDOWNBOX             2165
  152. #define IDM_LISTBOX                 2166
  153. #define IDM_BUTTON                  2167
  154. #define IDM_IMAGE                   2168
  155. #define IDM_OBJECT                  2169
  156. #define IDM_1D                      2170
  157. #define IDM_IMAGEMAP                2171
  158. #define IDM_FILE                    2172
  159. #define IDM_COMMENT                 2173
  160. #define IDM_SCRIPT                  2174
  161. #define IDM_JAVAAPPLET              2175
  162. #define IDM_PLUGIN                  2176
  163. #define IDM_PAGEBREAK               2177
  164.  
  165. #define IDM_PARAGRAPH               2180
  166. #define IDM_FORM                    2181
  167. #define IDM_MARQUEE                 2182
  168. #define IDM_LIST                    2183
  169. #define IDM_ORDERLIST               2184
  170. #define IDM_UNORDERLIST             2185
  171. #define IDM_INDENT                  2186
  172. #define IDM_OUTDENT                 2187
  173. #define IDM_PREFORMATTED            2188
  174. #define IDM_ADDRESS                 2189
  175. #define IDM_BLINK                   2190
  176. #define IDM_DIV                     2191
  177.  
  178. #define IDM_TABLEINSERT             2200
  179. #define IDM_RCINSERT                2201
  180. #define IDM_CELLINSERT              2202
  181. #define IDM_CAPTIONINSERT           2203
  182. #define IDM_CELLMERGE               2204
  183. #define IDM_CELLSPLIT               2205
  184. #define IDM_CELLSELECT              2206
  185. #define IDM_ROWSELECT               2207
  186. #define IDM_COLUMNSELECT            2208
  187. #define IDM_TABLESELECT             2209
  188. #define IDM_TABLEPROPERTIES         2210
  189. #define IDM_CELLPROPERTIES          2211
  190. #define IDM_ROWINSERT               2212
  191. #define IDM_COLUMNINSERT            2213
  192.  
  193. #define IDM_HELP_CONTENT            2220
  194. #define IDM_HELP_ABOUT              2221
  195. #define IDM_HELP_README             2222
  196.  
  197. #define IDM_REMOVEFORMAT            2230
  198. #define IDM_PAGEINFO                2231
  199. #define IDM_TELETYPE                2232
  200. #define IDM_GETBLOCKFMTS            2233
  201. #define IDM_BLOCKFMT                2234
  202. #define IDM_SHOWHIDE_CODE           2235
  203. #define IDM_TABLE                   2236
  204.  
  205. #define IDM_COPYFORMAT              2237
  206. #define IDM_PASTEFORMAT             2238
  207. #define IDM_GOTO                    2239
  208.  
  209. #define IDM_CHANGEFONT              2240
  210. #define IDM_CHANGEFONTSIZE          2241
  211. #define IDM_INCFONTSIZE             2242
  212. #define IDM_DECFONTSIZE             2243
  213. #define IDM_INCFONTSIZE1PT          2244
  214. #define IDM_DECFONTSIZE1PT          2245
  215. #define IDM_CHANGECASE              2246
  216. #define IDM_SUBSCRIPT               2247
  217. #define IDM_SUPERSCRIPT             2248
  218. #define IDM_SHOWSPECIALCHAR         2249
  219.  
  220. #define IDM_CENTERALIGNPARA         2250
  221. #define IDM_LEFTALIGNPARA           2251
  222. #define IDM_RIGHTALIGNPARA          2252
  223. #define IDM_REMOVEPARAFORMAT        2253
  224. #define IDM_APPLYNORMAL             2254
  225. #define IDM_APPLYHEADING1           2255
  226. #define IDM_APPLYHEADING2           2256
  227. #define IDM_APPLYHEADING3           2257
  228.  
  229. #define IDM_DOCPROPERTIES           2260
  230. #define IDM_ADDFAVORITES            2261
  231. #define IDM_COPYSHORTCUT            2262
  232. #define IDM_SAVEBACKGROUND          2263
  233. #define IDM_SETWALLPAPER            2264
  234. #define IDM_COPYBACKGROUND          2265
  235. #define IDM_CREATESHORTCUT          2266
  236. #define IDM_PAGE                    2267
  237. #define IDM_SAVETARGET              2268
  238. #define IDM_SHOWPICTURE             2269
  239. #define IDM_SAVEPICTURE             2270
  240. #define IDM_DYNSRCPLAY              2271
  241. #define IDM_DYNSRCSTOP              2272
  242. #define IDM_PRINTTARGET             2273
  243. #define IDM_IMGARTPLAY              2274
  244. #define IDM_IMGARTSTOP              2275
  245. #define IDM_IMGARTREWIND            2276
  246. #define IDM_PRINTQUERYJOBSPENDING   2277
  247.  
  248. #define IDM_CONTEXTMENU             2280
  249. #define IDM_GOBACKWARD              2282
  250. #define IDM_GOFORWARD               2283
  251. #define IDM_PRESTOP                 2284
  252.  
  253. #define IDM_CREATELINK              2290
  254. #define IDM_COPYCONTENT             2291
  255.  
  256. #define IDM_LANGUAGE                2292
  257.  
  258. #define IDM_REFRESH                 2300
  259. #define IDM_STOPDOWNLOAD            2301
  260.  
  261. #define IDM_ENABLE_INTERACTION      2302
  262.  
  263. #define IDM_LAUNCHDEBUGGER          2310
  264. #define IDM_BREAKATNEXT             2311
  265.  
  266. #define IDM_INSINPUTHIDDEN          2312
  267. #define IDM_INSINPUTPASSWORD        2313
  268.  
  269. #define IDM_OVERWRITE               2314
  270.  
  271. #define IDM_PARSECOMPLETE           2315
  272.  
  273. #define IDM_HTMLEDITMODE            2316
  274.  
  275. #define IDM_REGISTRYREFRESH         2317
  276. #define IDM_COMPOSESETTINGS         2318
  277.  
  278. #define IDM_SHOWALLTAGS             2320
  279. #define IDM_SHOWALIGNEDSITETAGS     2321
  280. #define IDM_SHOWSCRIPTTAGS          2322
  281. #define IDM_SHOWSTYLETAGS           2323
  282. #define IDM_SHOWCOMMENTTAGS         2324
  283. #define IDM_SHOWAREATAGS            2325
  284. #define IDM_SHOWUNKNOWNTAGS         2326
  285. #define IDM_SHOWMISCTAGS            2327
  286. #define IDM_SHOWZEROBORDERATDESIGNTIME         2328
  287.  
  288. #define IDM_AUTODETECT              2329
  289.  
  290. #define IDM_SCRIPTDEBUGGER          2330
  291.  
  292. #define IDM_GETBYTESDOWNLOADED      2331
  293.  
  294. #define IDM_NOACTIVATENORMALOLECONTROLS        2332
  295. #define IDM_NOACTIVATEDESIGNTIMECONTROLS       2333
  296. #define IDM_NOACTIVATEJAVAAPPLETS              2334
  297.  
  298. #define IDM_SHOWWBRTAGS             2340
  299.  
  300. #define IDM_PERSISTSTREAMSYNC       2341
  301. #define IDM_SETDIRTY                2342
  302.  
  303.  
  304. #define IDM_MIMECSET__FIRST__           3609
  305. #define IDM_MIMECSET__LAST__            3640
  306.  
  307. #define IDM_MENUEXT_FIRST__       3700
  308. #define IDM_MENUEXT_LAST__        3732
  309. #define IDM_MENUEXT_COUNT         3733
  310.  
  311. // Commands mapped from the standard set.  We should
  312. // consider deleting them from public header files.
  313.  
  314. #define IDM_OPEN                    2000
  315. #define IDM_NEW                     2001
  316. #define IDM_SAVE                    70
  317. #define IDM_SAVEAS                  71
  318. #define IDM_SAVECOPYAS              2002
  319. #define IDM_PRINTPREVIEW            2003
  320. #define IDM_PRINT                   27
  321. #define IDM_PAGESETUP               2004
  322. #define IDM_SPELL                   2005
  323. #define IDM_PASTESPECIAL            2006
  324. #define IDM_CLEARSELECTION          2007
  325. #define IDM_PROPERTIES              28
  326. #define IDM_REDO                    29
  327. #define IDM_UNDO                    43
  328. #define IDM_SELECTALL               31
  329. #define IDM_ZOOMPERCENT             50
  330. #define IDM_GETZOOM                 68
  331. #define IDM_STOP                    2138
  332. #define IDM_COPY                    15
  333. #define IDM_CUT                     16
  334. #define IDM_PASTE                   26
  335.  
  336. // Defines for IDM_ZOOMPERCENT
  337. #define CMD_ZOOM_PAGEWIDTH -1
  338. #define CMD_ZOOM_ONEPAGE -2
  339. #define CMD_ZOOM_TWOPAGES -3
  340. #define CMD_ZOOM_SELECTION -4
  341. #define CMD_ZOOM_FIT -5
  342.  
  343.  
  344. #endif
  345.