Home COM GDI+ WebBrowser Data Access 

MSHTML Reference

 

 

This section contains references to interfaces and corresponding scripting objects, MSHTML C++ events, MSHTML functions, and CGID_MSHTML command identifiers.

 

 

Interfaces and Scripting Objects

 

Interface

Object

ICSSFilter

No matching object

ICSSFilterSite

No matching object

ICustomDoc

No matching object

IDisplayPointer

No matching object

IDisplayServices

No matching object

IDocHostShowUI

No matching object

IDocHostUIHandler

No matching object

IDocHostUIHandler2

No matching object

IElementBehavior

No matching object

IElementBehaviorCategory

No matching object

IElementBehaviorFactory

No matching object

IElementBehaviorFocus

No matching object

IElementBehaviorRender

No matching object

IElementBehaviorSite

No matching object

IElementBehaviorSiteCategory

No matching object

IElementBehaviorSiteOM

No matching object

IElementBehaviorSubmit

No matching object

IElementNamespace

No matching object

IElementNamespaceFactory

No matching object

IElementNamespaceFactoryCallback

No matching object

IElementNamespaceTable

No matching object

IElementSegment

No matching object

IEnumPrivacyRecords

No matching object

IHighlightRenderingServices

No matching object

IHighlightSegment

No matching object

IHostDialogHelper

No matching object

IHTMLAnchorElement

a

IHTMLAnchorElement2

a

IHTMLAreaElement

area

IHTMLAreasCollection

areas

IHTMLAreasCollection2

areas

IHTMLAreasCollection3

areas

IHTMLAttributeCollection

attributes

IHTMLAttributeCollection2

attributes

IBlockFormats

No matching object

IFontNames

No matching object

IHTMLBaseElement

base

IHTMLBaseFontElement

baseFont

IHTMLBGsound

bgSound

IHTMLBlockElement

No matching object

IHTMLBlockElement2

No matching object

IHTMLBodyElement

BODY

IHTMLBodyElement2

BODY

IHTMLBookmarkCollection

BODY

IHTMLBRElement

br

IHTMLButtonElement

button

IHTMLCaret

No matching object

IHTMLChangeLog

No matching object

IHTMLChangePlayback

No matching object

IHTMLChangeSink

No matching object

IHTMLCommentElement

comment

IHTMLCommentElement2

comment

IHTMLComputedStyle

No matching object

IHTMLControlElement

No matching object

IHTMLControlRange

No matching object

IHTMLCurrentStyle

No matching object

IHTMLCurrentStyle2

No matching object

IHTMLCurrentStyle3

No matching object

IHTMLDatabinding

No matching object

IHTMLDataTransfer

No matching object

IHTMLDDElement

dd

IHTMLDialog

window

IHTMLDialog2

window

IHTMLDialog3

window

IHTMLDivElement

div

IHTMLDivPosition

No matching object

IHTMLDListElement

dl

IHtmlDlgSafeHelper

No matching object

IHTMLDocument

document

IHTMLDocument2

document

IHTMLDocument3

document

IHTMLDocument4

document

IHTMLDocument5

document

IHTMLDOMAttribute

attribute

IHTMLDOMAttribute2

attribute

IHTMLDOMChildrenCollection

BODY

IHTMLDOMImplementation

implementation

IHTMLDOMNode

document

IHTMLDOMNode2

document

IHTMLDOMTextNode

TextNode

IHTMLDOMTextNode2

TextNode

IHTMLDTElement

dt

IHTMLEditDesigner

No matching object

IHTMLEditHost

No matching object

IHTMLEditServices

No matching object

IHTMLEditServices2

No matching object

IHTMLElement

All element objects

IHTMLElement2

All element objects

IHTMLElement3

All element objects

IHTMLElement4

All element objects

IHTMLElementCollection

elements

IHTMLElementCollection2

elements

IHTMLElementCollection3

elements

IHTMLElementDefaults

defaults

IHTMLEmbedElement

No matching object

IHTMLEventObj

event

IHTMLEventObj2

event

IHTMLEventObj3

event

IHTMLEventObj4

event

IHTMLFieldSetElement

fieldSet

IHTMLFiltersCollection

filters

IHTMLFontElement

font

IHTMLFontNamesCollection

No matching object

IHTMLFontSizesCollection

No matching object

IHTMLFormElement

form

IHTMLFormElement2

form

IHTMLFormElement3

form

IHTMLFrameBase

No matching object

IHTMLFrameBase2

No matching object

IHTMLFrameElement

frame

IHTMLFrameElement2

frame

IHTMLFramesCollection2

frames

IHTMLFrameSetElement

frameSet

IHTMLGenericElement

xml

IHTMLHeadElement

head

IHTMLHeaderElement

H1 through H6

IHTMLHRElement

hr

IHTMLHtmlElement

html

IHTMLIFrameElement

iframe

IHTMLImageElementFactory

No matching object

IHTMLImgElement

Common properties of img, input, input type=image

IHTMLInputButtonElement

input, input type=reset, input type=submit

IHTMLInputElement

input, input type=checkbox, input type=file, input type=hidden, input type=image, input type=password, input type=radio, input type=reset, input type=submit, input type=text

IHTMLInputElement2

input, input type=file

IHTMLInputFileElement

input, input type=file

IHTMLInputHiddenElement

input, input type=hidden

IHTMLInputImage

input, input type=image

IHTMLInputTextElement

input, input type=password, input type=text

IHTMLIsIndexElement

isIndex

IHTMLLabelElement

label

IHTMLLegendElement

legend

IHTMLLIElement

li

IHTMLLinkElement

link

IHTMLLinkElement2

link

IHTMLLinkElement3

link

IHTMLListElement2

menu

IHTMLLocation

location

IHTMLMapElement

map

IHTMLMarqueeElement

marquee

IHTMLMetaElement

meta

IHTMLMetaElement2

meta

IHTMLMimeTypesCollection

No matching object

IHTMLModelessInit

window

IHTMLNamespace

namespace

IHTMLNamespaceCollection

namespaces

IHTMLNextIdElement

nextID

IHTMLObjectElement

object

IHTMLObjectElement2

object

IHTMLObjectElement3

object

IHTMLOListElement

ol

IHTMLOpsProfile

userProfile

IHTMLOptionButtonElement

input, input type=checkbox, input type=radio

IHTMLOptionElement

option

IHTMLOptionElement3

option

IHTMLOptionElementFactory

No matching object

IHTMLOptionsHolder

No matching object

IHTMLPainter

No matching object

IHTMLPaintSite

No matching object

IHTMLParaElement

p

IHTMLPhraseElement2

ins,del

IHTMLPluginsCollection

embed

IHTMLPopup

popup

IHTMLRect

No matching object

IHTMLRectCollection

No matching object

IHTMLRenderStyle

No matching object

IHTMLRuleStyle

style

IHTMLRuleStyle2

style

IHTMLRuleStyle3

style

IHTMLRuleStyle4

style

IHTMLScreen

screen

IHTMLScriptElement

script

IHTMLScriptElement2

script

IHTMLSelectElement

select

IHTMLSelectElement2

select

IHTMLSelectElement4

select

IHTMLSelectionObject

selection

IHTMLSelectionObject2

selection

IHTMLSpanFlow

span

IHTMLStyle

style

IHTMLStyle2

style

IHTMLStyle3

style

IHTMLStyle4

style

IHTMLStyleElement

style

IHTMLStyleSheet

styleSheet

IHTMLStyleSheet2

styleSheet

IHTMLStyleSheetPage

page

IHTMLStyleSheetPagesCollection

pages

IHTMLStyleSheetRule

styleSheet

IHTMLStyleSheetRulesCollection

styleSheets

IHTMLStyleSheetsCollection

styleSheets

IHTMLSubmitData

No matching object

IHTMLTable

table

IHTMLTable2

table

IHTMLTable3

table

IHTMLTableCaption

caption

IHTMLTableCell

td, th

IHTMLTableCell2

td,th

IHTMLTableCol

col, colGroup

IHTMLTableCol2

col, colGroup

IHTMLTableRow

tr

IHTMLTableRow2

tr

IHTMLTableRow3

tr

IHTMLTableRowMetrics

tr

IHTMLTableSection

tBody,tHead, tFoot

IHTMLTableSection2

tBody,tHead, tFoot

IHTMLTableSection3

tBody,tHead, tFoot

IHTMLTextAreaElement

textArea

IHTMLTextContainer

No matching object

IHTMLTextElement

All element objects

IHTMLTextRangeMetrics

TextRange

IHTMLTextRangeMetrics2

TextRange

IHTMLTitleElement

TITLE

IHTMLTxtRange

TextRange

IHTMLTxtRangeCollection

TextRange

IHTMLUListElement

ul

IHTMLUniqueName

ul

IHTMLWindow2

window

IHTMLWindow3

window

IHTMLWindow4

window

IIMEServices

No matching object

ILineInfo

No matching object

IMarkupContainer

No matching object

IMarkupContainer2

No matching object

IMarkupPointer

No matching object

IMarkupPointer2

No matching object

IMarkupServices

No matching object

IMarkupServices2

No matching object

IMarkupTextFrags

No matching object

IOmHistory

history

IOmNavigator

navigator

ISegment

No matching object

ISegmentList

No matching object

ISegmentListIterator

No matching object

ISelectionServices

No matching object

ISelectionServicesListener

No matching object

 

MSHTML Event DispInterfaces

 

 

HTMLAnchorEvents

This dispinterface provides a connection point so that an application or control can intercept events fired by an a element.

 

HTMLAnchorEvents2

This dispinterface provides a connection point so that an application or control can intercept events fired by an a element.

 

HTMLAreaEvents

This dispinterface provides a connection point so that an application or control can intercept events fired by an area element.

 

HTMLAreaEvents2

This dispinterface provides a connection point so that an application or control can intercept events fired by an area element.

 

HTMLButtonElementEvents

This dispinterface provides a connection point so that an application or control can intercept events fired by a button element.

 

HTMLButtonElementEvents2

This dispinterface provides a connection point so that an application or control can intercept events fired by a button element.

 

HTMLControlElementEvents

This dispinterface provides a connection point so that an application or control can intercept events fired by a control.

 

HTMLControlElementEvents2

This dispinterface provides a connection point so that an application or control can intercept events fired by a control.

 

HTMLDocumentEvents

This dispinterface provides a connection point so that an application or control can intercept events fired by a document object.

 

HTMLDocumentEvents2

This dispinterface provides a connection point so that an application or control can intercept events fired by a document object.

 

HTMLElementEvents

This dispinterface provides a connection point so that an application or control can intercept events fired by an element.

 

HTMLElementEvents2

This dispinterface provides a connection point so that an application or control can intercept events fired by an element.

 

HTMLFormElementEvents

This dispinterface provides a connection point so that an application or control can intercept events fired by an form element.

 

HTMLFormElementEvents2

This dispinterface provides a connection point so that an application or control can intercept events fired by an form element.

 

HTMLFrameSiteEvents

This dispinterface provides a connection point so that an application or control can intercept events fired by a frame element.

 

HTMLFrameSiteEvents2

This dispinterface provides a connection point so that an application or control can intercept events fired by a frame element.

 

HTMLImgEvents

This dispinterface provides a connection point so that an application or control can intercept events fired by an img element.

 

HTMLImgEvents2

This dispinterface provides a connection point so that an application or control can intercept events fired by an img element.

 

HTMLInputFileElementEvents

This dispinterface provides a connection point so that an application or control can intercept events fired by an input type=file element.

 

HTMLInputFileElementEvents2

This dispinterface provides a connection point so that an application or control can intercept events fired by an input type=file element.

 

HTMLInputImageEvents

This dispinterface provides a connection point so that an application or control can intercept events fired by an input type=image element.

 

HTMLInputImageEvents2

This dispinterface provides a connection point so that an application or control can intercept events fired by an input type=image element.

 

HTMLInputTextElementEvents

This dispinterface provides a connection point so that an application or control can intercept events fired by an input type=text element.

 

HTMLInputTextElementEvents2

This dispinterface provides a connection point so that an application or control can intercept events fired by an input type=text element.

 

HTMLLabelEvents

This dispinterface provides a connection point so that an application or control can intercept events fired by an label element.

 

HTMLLabelEvents2

This dispinterface provides a connection point so that an application or control can intercept events fired by an label element.

 

HTMLLinkElementEvents

This dispinterface provides a connection point so that an application or control can intercept events fired by an link element.

 

HTMLLinkElementEvents2

This dispinterface provides a connection point so that an application or control can intercept events fired by an link element.

 

HTMLMapEvents

This dispinterface provides a connection point so that an application or control can intercept events fired by an map element.

 

HTMLMapEvents2

This dispinterface provides a connection point so that an application or control can intercept events fired by an map element.

 

HTMLMarqueeElementEvents

This dispinterface provides a connection point so that an application or control can intercept events fired by an marquee element.

 

HTMLMarqueeElementEvents2

This dispinterface provides a connection point so that an application or control can intercept events fired by an marquee element.

 

HTMLNamespaceEvents

This dispinterface provides a connection point so that an application or control can intercept events fired by an NAMESPACE element.

 

HTMLObjectElementEvents

This dispinterface provides a connection point so that an application or control can intercept events fired by an object element.

 

HTMLObjectElementEvents2

This dispinterface provides a connection point so that an application or control can intercept events fired by an object element.

 

HTMLOptionButtonElementEvents

This dispinterface provides a connection point so that an application or control can intercept events fired by an option element.

 

HTMLOptionButtonElementEvents2

This dispinterface provides a connection point so that an application or control can intercept events fired by an option element.

 

HTMLScriptEvents

This dispinterface provides a connection point so that an application or control can intercept events fired by an script element.

 

HTMLScriptEvents2

This dispinterface provides a connection point so that an application or control can intercept events fired by an script element.

 

HTMLSelectElementEvents

This dispinterface provides a connection point so that an application or control can intercept events fired by an select element.

 

HTMLSelectElementEvents2

This dispinterface provides a connection point so that an application or control can intercept events fired by an select element.

 

HTMLStyleElementEvents

This dispinterface provides a connection point so that an application or control can intercept events fired by an style element.

 

HTMLStyleElementEvents2

This dispinterface provides a connection point so that an application or control can intercept events fired by an style element.

 

HTMLTableEvents

This dispinterface provides a connection point so that an application or control can intercept events fired by an table element.

 

HTMLTableEvents2

This dispinterface provides a connection point so that an application or control can intercept events fired by an table element.

 

HTMLTextContainerEvents

This dispinterface provides a connection point so that an application or control can intercept events fired by a text container.

 

HTMLTextContainerEvents2

This dispinterface provides a connection point so that an application or control can intercept events fired by any element that is a text container.

 

HTMLWindowEvents

This dispinterface provides a connection point so that an application or control can intercept events fired by an window element.

 

HTMLWindowEvents2

This dispinterface provides a connection point so that an application or control can intercept events fired by an window element.

 

 

Functions

 

 

CreateHTMLPropertyPage

Creates a property page that displays HTML.

 

ShowHTMLDialog

Creates a modal dialog box that displays HTML.

 

ShowHTMLDialogEx

Creates a trusted dialog box that displays HTML.

 

ShowModelessHTMLDialog

Creates a modeless dialog box that displays HTML.

 

 

Structures

 

 

HTML_PAINT_DRAW_INFO

Provides information that a rendering behavior might need to draw itself properly or more efficiently.

 

HTML_PAINT_XFORM

Represents matrices in the HTML_PAINT_DRAW_INFO structure for transforming or translating a rendering behavior's display output when the behavior supports transformations.

 

HTML_PAINTER_INFO

Passes information from a rendering behavior to MSHTML regarding the behavior's needs, functionality, and how it is to be rendered.

 

 

Enumerations

 

 

BEHAVIOR_LAYOUT_INFO

Specifies the type of layout control the layout behavior exhibits.

 

BEHAVIOR_LAYOUT_MODE

Provides a layout behavior with information about the current state of the layout engine.

 

CARET_DIRECTION

Specifies to the IHTMLCaret::MoveCaretToPointer and IHTMLCaret::MoveCaretToPointerEx methods which direction should be the caret's forward direction.

 

COORD_SYSTEM

Contains values used by the IDisplayServices::TransformPoint and IDisplayPointer::MoveToPoint methods to specify the frame of reference for horizontal and vertical coordinates.

 

DISPLAY_BREAK

Contains values used by the IDisplayPointer::QueryBreaks method that describe the kind of break located at a display pointer's position.

 

DISPLAY_GRAVITY

Contains display gravity options for the IDisplayPointer::GetDisplayGravity and IDisplayPointer::SetDisplayGravity methods.

 

DISPLAY_MOVEUNIT

Contains options for display pointer movement used by the IDisplayPointer::MoveUnit method.

 

ELEMENT_CORNER

Indicates to the IHTMLEditHost::SnapRect method which handle or corner of an element a user has selected during an element resize or move operation.

 

HT_OPTIONS

Contains hit-testing options used by the IDisplayPointer::MoveToPoint method.

 

HT_RESULTS

Contains hit-result options used by the IDisplayPointer::MoveToPoint method.

 

HTML_PAINT_DRAW_FLAGS

Used by MSHTML to pass information to the IHTMLPainter::Draw method for a rendering behavior's use.

 

HTML_PAINT_DRAW_INFO_FLAGS

Specifies which HTML_PAINT_DRAW_INFO structure members to fill during a call to the IHTMLPaintSite::GetDrawInfo method.

 

HTML_PAINT_EVENT_FLAGS

Specifies which IHTMLPainterEventInfo methods should be called in response to successful hit-tests on the element to which a rendering behavior is attached.

 

HTML_PAINT_ZORDER

Indicates the order in which a behavior is to be rendered relative to the document content. Used in the lZOrder member of the HTML_PAINTER_INFO structure.

 

HTML_PAINTER

Specifies a behavior's rendering attributes and requirements. Used in the lFlags member of the HTML_PAINTER_INFO structure, which MSHTML retrieves when it calls IHTMLPainter::GetPainterInfo.

 

LINE_DIRECTION

Specifies whether a line of text reads from left to right or from right to left in a call to ILineInfo::lineDirection.

 

SAVE_SEGMENTS_FLAGS

Contains flags used by the IMarkupServices2::SaveSegmentsToClipboard method.

 

SELECTION_TYPE

Specifies the current selection type in the ISelectionServices::SetSelectionType and ISegmentList::GetType methods.

 

 

Command Identifiers

 

 

These command identifiers specify an action to take on the given object. They can be used with the IOleCommandTarget::Exec and IOleCommandTarget::QueryStatus methods.

 

 

 

IDM_1D_ELEMENT

Determines if an element is statically positioned.

 

IDM_2D_ELEMENT

Determines if an element is absolutely positioned.

 

IDM_2D_POSITION

Allows absolutely positioned elements to be moved by dragging.

 

IDM_ABSOLUTE_POSITION

Sets an element's position property to "absolute."

 

IDM_ADDFAVORITES

Prompts the user with a dialog box to add the current document, a hyperlink, or an image to the Favorites list.

 

IDM_ADDTOGLYPHTABLE

Adds an entry or entries to the glyph table, which specifies images to display for specific tags in design mode.

 

IDM_ATOMICSELECTION

When this command is issued in design mode, any element that has an ATOMICSELECTION attribute set to TRUE will be selectable only as a unit.

 

IDM_AUTOURLDETECT_MODE

Turns automatic URL detection on and off.

 

IDM_BACKCOLOR

Sets or retrieves the background color of the current selection.

 

IDM_BLOCKDIRLTR

Not currently supported.

 

IDM_BLOCKDIRRTL

Not currently supported.

 

IDM_BLOCKFMT

Sets or retrieves the current block format tag.

 

IDM_BOLD

Toggles the current selection between bold and nonbold.

 

IDM_BOOKMARK

Creates a bookmark anchor or retrieves the name of a bookmark anchor for the current selection or insertion point.

 

IDM_BROWSEMODE

Not currently supported.

 

IDM_BUTTON

Overwrites a button control on the text selection.

 

IDM_CHECKBOX

Overwrites a check box control on the text selection.

 

IDM_CLEARAUTHENTICATIONCACHE

Clears all authentication credentials from the cache. Applies only to IHTMLDocument2::execCommand.

 

IDM_CLEARSELECTION

Clears the current selection.

 

IDM_COMPOSESETTINGS

Sets the default composition font settings for the MSHTML Editor.

 

IDM_COPY

Copies the current selection to the clipboard.

 

IDM_CUT

Copies the current selection to the clipboard and then deletes it.

 

IDM_DELETE

Deletes the current selection.

 

IDM_DIRLTR

Not currently supported.

 

IDM_DIRRTL

Not currently supported.

 

IDM_DROPDOWNBOX

Overwrites a drop-down selection control on the text selection.

 

IDM_DYNSRCPLAY

Not currently supported.

 

IDM_DYNSRCSTOP

Not currently supported.

 

IDM_EDITMODE

Not currently supported.

 

IDM_EXECPRINT

Not currently supported.

 

IDM_FONT

Opens a font dialog box to enable the user to change the text color, font, and font size of the current selection.

 

IDM_FONTNAME

Sets or retrieves the font for the current selection.

 

IDM_FONTSIZE

Sets or retrieves the font size for the current selection.

 

IDM_FORECOLOR

Sets or retrieves the foreground (text) color of the current selection.

 

IDM_GETBLOCKFMTS

Retrieves the strings corresponding to the available block format tags.

 

IDM_GETFRAMEZONE

IDM_GETFRAMEZONE returns the security zone of the current page in the browser.

 

IDM_HORIZONTALLINE

Overwrites a horizontal line on the text selection.

 

IDM_HTMLEDITMODE

Enables the IDM_COMPOSESETTINGS command.

 

IDM_HYPERLINK

Inserts a hyperlink on the current selection, or displays a dialog box enabling the user to specify a URL to insert as a hyperlink on the current selection.

 

IDM_IFRAME

Overwrites an inline frame on the text selection.

 

IDM_IMAGE

Overwrites an image on the text selection.

 

IDM_INDENT

Increases the indent of the selected text by one indentation increment.

 

IDM_INLINEDIRLTR

Not currently supported.

 

IDM_INLINEDIRRTL

Not currently supported.

 

IDM_INSFIELDSET

Overwrites a box on the text selection.

 

IDM_INSINPUTBUTTON

Overwrites a button control on the text selection.

 

IDM_INSINPUTHIDDEN

Inserts a hidden control on the text selection.

 

IDM_INSINPUTIMAGE

Overwrites an image control on the text selection.

 

IDM_INSINPUTPASSWORD

Overwrites a password control on the text selection.

 

IDM_INSINPUTRESET

Overwrites a reset control on the text selection.

 

IDM_INSINPUTSUBMIT

Overwrites a submit control on the text selection.

 

IDM_INSINPUTUPLOAD

Overwrites a file upload control on the text selection.

 

IDM_ITALIC

Toggles the current selection between italic and nonitalic.

 

IDM_JUSTIFYCENTER

Centers the format block in which the current selection is located.

 

IDM_JUSTIFYFULL

Not currently supported.

 

IDM_JUSTIFYLEFT

Left-justifies the format block in which the current selection is located.

 

IDM_JUSTIFYNONE

Not currently supported.

 

IDM_JUSTIFYRIGHT

Right-justifies the format block in which the current selection is located.

 

IDM_KEEPSELECTION

Maintains a selection in a browser instance when the browser loses focus.

 

IDM_LISTBOX

Overwrites a list box selection control on the text selection.

 

IDM_LIVERESIZE

Causes the MSHTML Editor to update an element's appearance continuously during a resizing or moving operation, rather than updating only at the completion of the move or resize.

 

IDM_MARQUEE

Overwrites an empty marquee on the text selection.

 

IDM_MULTIPLESELECTION

Allows for the selection of more than one site selectable element at a time when the user holds down the SHIFT or CTRL keys.

 

IDM_OPEN

Not currently supported.

 

IDM_ORDERLIST

Toggles the text selection between an ordered list and a normal format block.

 

IDM_OUTDENT

Decreases by one increment the indentation of the format block in which the current selection is located.

 

IDM_OVERWRITE

Toggles the text-entry mode between insert and overwrite.

 

IDM_PARAGRAPH

Overwrites a line break on the text selection.

 

IDM_PASTE

Overwrites the contents of the clipboard on the current selection.

 

IDM_PRINT

Prints the current document using either the default print template or a custom print template.

 

IDM_PRINTPREVIEW

Opens the Print Preview window for the current document using either the default print preview template or a custom template.

 

IDM_RADIOBUTTON

Overwrites a radio control on the text selection.

 

IDM_REDO

Not currently supported.

 

IDM_REFRESH

Refreshes the current document.

 

IDM_REMOVEFORMAT

Removes the formatting tags from the current selection.

 

IDM_REMOVEPARAFORMAT

Not currently supported.

 

IDM_SAVEAS

Saves the current Web page to a file.

 

IDM_SELECTALL

Selects the entire document.

 

IDM_SIZETOCONTROL

Not currently supported.

 

IDM_SIZETOCONTROLHEIGHT

Not currently supported.

 

IDM_SIZETOCONTROLWIDTH

Not currently supported.

 

IDM_STOP

Not currently supported.

 

IDM_STRIKETHROUGH

Not currently supported.

 

IDM_SUBSCRIPT

Not currently supported.

 

IDM_SUPERSCRIPT

Not currently supported.

 

IDM_TEXTAREA

Overwrites a multiline text input control on the text selection.

 

IDM_TEXTBOX

Overwrites a text control on the text selection.

 

IDM_UNBOOKMARK

Removes any bookmark from the current selection.

 

IDM_UNDERLINE

Toggles the current selection between underlined and not underlined.

 

IDM_UNDO

Not currently supported.

 

IDM_UNLINK

Removes any hyperlink from the current selection.

 

IDM_UNORDERLIST

Toggles the text selection between an ordered list and a normal format block.

 

IECMDID_CLEAR_AUTOCOMPLETE_FOR_FORMS

Clears data saved in forms.

 

 

 

%IDM_UNKNOWN = 0
%IDM_ALIGNBOTTOM = 1
%IDM_ALIGNHORIZONTALCENTERS = 2
%IDM_ALIGNLEFT = 3
%IDM_ALIGNRIGHT = 4
%IDM_ALIGNTOGRID = 5
%IDM_ALIGNTOP = 6
%IDM_ALIGNVERTICALCENTERS = 7
%IDM_ARRANGEBOTTOM = 8
%IDM_ARRANGERIGHT = 9
%IDM_BRINGFORWARD = 10
%IDM_BRINGTOFRONT = 11
%IDM_CENTERHORIZONTALLY = 12
%IDM_CENTERVERTICALLY = 13
%IDM_CODE = 14
%IDM_DELETE = 17
%IDM_FONTNAME = 18
%IDM_FONTSIZE = 19
%IDM_GROUP = 20
%IDM_HORIZSPACECONCATENATE = 21
%IDM_HORIZSPACEDECREASE = 22
%IDM_HORIZSPACEINCREASE = 23
%IDM_HORIZSPACEMAKEEQUAL = 24
%IDM_INSERTOBJECT = 25
%IDM_MULTILEVELREDO = 30
%IDM_SENDBACKWARD = 32
%IDM_SENDTOBACK = 33
%IDM_SHOWTABLE = 34
%IDM_SIZETOCONTROL = 35
%IDM_SIZETOCONTROLHEIGHT = 36
%IDM_SIZETOCONTROLWIDTH = 37
%IDM_SIZETOFIT = 38
%IDM_SIZETOGRID = 39
%IDM_SNAPTOGRID = 40
%IDM_TABORDER = 41
%IDM_TOOLBOX = 42
%IDM_MULTILEVELUNDO = 44
%IDM_UNGROUP = 45
%IDM_VERTSPACECONCATENATE = 46
%IDM_VERTSPACEDECREASE = 47
%IDM_VERTSPACEINCREASE = 48
%IDM_VERTSPACEMAKEEQUAL = 49
%IDM_JUSTIFYFULL = 50
%IDM_BACKCOLOR = 51
%IDM_BOLD = 52
%IDM_BORDERCOLOR = 53
%IDM_FLAT = 54
%IDM_FORECOLOR = 55
%IDM_ITALIC = 56
%IDM_JUSTIFYCENTER = 57
%IDM_JUSTIFYGENERAL = 58
%IDM_JUSTIFYLEFT = 59
%IDM_JUSTIFYRIGHT = 60
%IDM_RAISED = 61
%IDM_SUNKEN = 62
%IDM_UNDERLINE = 63
%IDM_CHISELED = 64
%IDM_ETCHED = 65
%IDM_SHADOWED = 66
%IDM_FIND = 67
%IDM_SHOWGRID = 69
%IDM_OBJECTVERBLIST0 = 72
%IDM_OBJECTVERBLIST1 = 73
%IDM_OBJECTVERBLIST2 = 74
%IDM_OBJECTVERBLIST3 = 75
%IDM_OBJECTVERBLIST4 = 76
%IDM_OBJECTVERBLIST5 = 77
%IDM_OBJECTVERBLIST6 = 78
%IDM_OBJECTVERBLIST7 = 79
%IDM_OBJECTVERBLIST8 = 80
%IDM_OBJECTVERBLIST9 = 81
%IDM_OBJECTVERBLISTLAST = %IDM_OBJECTVERBLIST9
%IDM_CONVERTOBJECT = 82
%IDM_CUSTOMCONTROL = 83
%IDM_CUSTOMIZEITEM = 84
%IDM_RENAME = 85
%IDM_IMPORT = 86
%IDM_NEWPAGE = 87
%IDM_MOVE = 88
%IDM_CANCEL = 89
%IDM_FONT = 90
%IDM_STRIKETHROUGH = 91
%IDM_DELETEWORD = 92
%IDM_EXECPRINT = 93
%IDM_JUSTIFYNONE = 94
%IDM_TRISTATEBOLD = 95
%IDM_TRISTATEITALIC = 96
%IDM_TRISTATEUNDERLINE = 97

%IDM_FOLLOW_ANCHOR = 2008

%IDM_INSINPUTIMAGE = 2114
%IDM_INSINPUTBUTTON = 2115
%IDM_INSINPUTRESET = 2116
%IDM_INSINPUTSUBMIT = 2117
%IDM_INSINPUTUPLOAD = 2118
%IDM_INSFIELDSET = 2119

%IDM_PASTEINSERT = 2120
%IDM_REPLACE = 2121
%IDM_EDITSOURCE = 2122
%IDM_BOOKMARK = 2123
%IDM_HYPERLINK = 2124
%IDM_UNLINK = 2125
%IDM_BROWSEMODE = 2126
%IDM_EDITMODE = 2127
%IDM_UNBOOKMARK = 2128

%IDM_TOOLBARS = 2130
%IDM_STATUSBAR = 2131
%IDM_FORMATMARK = 2132
%IDM_TEXTONLY = 2133
%IDM_OPTIONS = 2135
%IDM_FOLLOWLINKC = 2136
%IDM_FOLLOWLINKN = 2137
%IDM_VIEWSOURCE = 2139
%IDM_ZOOMPOPUP = 2140

'// IDM_BASELINEFONT1, IDM_BASELINEFONT2, IDM_BASELINEFONT3, IDM_BASELINEFONT4,
'// and IDM_BASELINEFONT5 should be consecutive integers;
'//

%IDM_BASELINEFONT1 = 2141
%IDM_BASELINEFONT2 = 2142
%IDM_BASELINEFONT3 = 2143
%IDM_BASELINEFONT4 = 2144
%IDM_BASELINEFONT5 = 2145

%IDM_HORIZONTALLINE = 2150
%IDM_LINEBREAKNORMAL = 2151
%IDM_LINEBREAKLEFT = 2152
%IDM_LINEBREAKRIGHT = 2153
%IDM_LINEBREAKBOTH = 2154
%IDM_NONBREAK = 2155
%IDM_SPECIALCHAR = 2156
%IDM_HTMLSOURCE = 2157
%IDM_IFRAME = 2158
%IDM_HTMLCONTAIN = 2159
%IDM_TEXTBOX = 2161
%IDM_TEXTAREA = 2162
%IDM_CHECKBOX = 2163
%IDM_RADIOBUTTON = 2164
%IDM_DROPDOWNBOX = 2165
%IDM_LISTBOX = 2166
%IDM_BUTTON = 2167
%IDM_IMAGE = 2168
%IDM_OBJECT = 2169
%IDM_1D = 2170
%IDM_IMAGEMAP = 2171
%IDM_FILE = 2172
%IDM_COMMENT = 2173
%IDM_SCRIPT = 2174
%IDM_JAVAAPPLET = 2175
%IDM_PLUGIN = 2176
%IDM_PAGEBREAK = 2177
%IDM_HTMLAREA = 2178

%IDM_PARAGRAPH = 2180
%IDM_FORM = 2181
%IDM_MARQUEE = 2182
%IDM_LIST = 2183
%IDM_ORDERLIST = 2184
%IDM_UNORDERLIST = 2185
%IDM_INDENT = 2186
%IDM_OUTDENT = 2187
%IDM_PREFORMATTED = 2188
%IDM_ADDRESS = 2189
%IDM_BLINK = 2190
%IDM_DIV = 2191

%IDM_TABLEINSERT = 2200
%IDM_RCINSERT = 2201
%IDM_CELLINSERT = 2202
%IDM_CAPTIONINSERT = 2203
%IDM_CELLMERGE = 2204
%IDM_CELLSPLIT = 2205
%IDM_CELLSELECT = 2206
%IDM_ROWSELECT = 2207
%IDM_COLUMNSELECT = 2208
%IDM_TABLESELECT = 2209
%IDM_TABLEPROPERTIES = 2210
%IDM_CELLPROPERTIES = 2211
%IDM_ROWINSERT = 2212
%IDM_COLUMNINSERT = 2213

%IDM_HELP_CONTENT = 2220
%IDM_HELP_ABOUT = 2221
%IDM_HELP_README = 2222

%IDM_REMOVEFORMAT = 2230
%IDM_PAGEINFO = 2231
%IDM_TELETYPE = 2232
%IDM_GETBLOCKFMTS = 2233
%IDM_BLOCKFMT = 2234
%IDM_SHOWHIDE_CODE = 2235
%IDM_TABLE = 2236

%IDM_COPYFORMAT = 2237
%IDM_PASTEFORMAT = 2238
%IDM_GOTO = 2239

%IDM_CHANGEFONT = 2240
%IDM_CHANGEFONTSIZE = 2241
%IDM_CHANGECASE = 2246
%IDM_SHOWSPECIALCHAR = 2249

%IDM_SUBSCRIPT = 2247
%IDM_SUPERSCRIPT = 2248

%IDM_CENTERALIGNPARA = 2250
%IDM_LEFTALIGNPARA = 2251
%IDM_RIGHTALIGNPARA = 2252
%IDM_REMOVEPARAFORMAT = 2253
%IDM_APPLYNORMAL = 2254
%IDM_APPLYHEADING1 = 2255
%IDM_APPLYHEADING2 = 2256
%IDM_APPLYHEADING3 = 2257

%IDM_DOCPROPERTIES = 2260
%IDM_ADDFAVORITES = 2261
%IDM_COPYSHORTCUT = 2262
%IDM_SAVEBACKGROUND = 2263
%IDM_SETWALLPAPER = 2264
%IDM_COPYBACKGROUND = 2265
%IDM_CREATESHORTCUT = 2266
%IDM_PAGE = 2267
%IDM_SAVETARGET = 2268
%IDM_SHOWPICTURE = 2269
%IDM_SAVEPICTURE = 2270
%IDM_DYNSRCPLAY = 2271
%IDM_DYNSRCSTOP = 2272
%IDM_PRINTTARGET = 2273
%IDM_IMGARTPLAY = 2274
%IDM_IMGARTSTOP = 2275
%IDM_IMGARTREWIND = 2276
%IDM_PRINTQUERYJOBSPENDING = 2277
%IDM_SETDESKTOPITEM = 2278

%IDM_CONTEXTMENU = 2280
%IDM_GOBACKWARD = 2282
%IDM_GOFORWARD = 2283
%IDM_PRESTOP = 2284

%IDM_MP_MYPICS = 2287
%IDM_MP_EMAILPICTURE = 2288
%IDM_MP_PRINTPICTURE = 2289

%IDM_CREATELINK = 2290
%IDM_COPYCONTENT = 2291

%IDM_LANGUAGE = 2292

%IDM_GETPRINTTEMPLATE = 2295
%IDM_SETPRINTTEMPLATE = 2296
%IDM_TEMPLATE_PAGESETUP = 2298

%IDM_REFRESH = 2300
%IDM_STOPDOWNLOAD = 2301

%IDM_ENABLE_INTERACTION = 2302

%IDM_LAUNCHDEBUGGER = 2310
%IDM_BREAKATNEXT = 2311

%IDM_INSINPUTHIDDEN = 2312
%IDM_INSINPUTPASSWORD = 2313

%IDM_OVERWRITE = 2314

%IDM_PARSECOMPLETE = 2315

%IDM_HTMLEDITMODE = 2316

%IDM_REGISTRYREFRESH = 2317
%IDM_COMPOSESETTINGS = 2318

%IDM_SHOWALLTAGS = 2327
%IDM_SHOWALIGNEDSITETAGS = 2321
%IDM_SHOWSCRIPTTAGS = 2322
%IDM_SHOWSTYLETAGS = 2323
%IDM_SHOWCOMMENTTAGS = 2324
%IDM_SHOWAREATAGS = 2325
%IDM_SHOWUNKNOWNTAGS = 2326
%IDM_SHOWMISCTAGS = 2320
%IDM_SHOWZEROBORDERATDESIGNTIME = 2328

%IDM_AUTODETECT = 2329

%IDM_SCRIPTDEBUGGER = 2330

%IDM_GETBYTESDOWNLOADED = 2331

%IDM_NOACTIVATENORMALOLECONTROLS = 2332
%IDM_NOACTIVATEDESIGNTIMECONTROLS = 2333
%IDM_NOACTIVATEJAVAAPPLETS = 2334
%IDM_NOFIXUPURLSONPASTE = 2335

%IDM_EMPTYGLYPHTABLE = 2336
%IDM_ADDTOGLYPHTABLE = 2337
%IDM_REMOVEFROMGLYPHTABLE = 2338
%IDM_REPLACEGLYPHCONTENTS = 2339

%IDM_SHOWWBRTAGS = 2340

%IDM_PERSISTSTREAMSYNC = 2341
%IDM_SETDIRTY = 2342

%IDM_RUNURLSCRIPT = 2343

'#ifdef IE5_ZOOM
%IDM_ZOOMRATIO = 2344
%IDM_GETZOOMNUMERATOR = 2345
%IDM_GETZOOMDENOMINATOR = 2346
'#endif // IE5_ZOOM

'// COMMANDS FOR COMPLEX TEXT
%IDM_DIRLTR = 2350
%IDM_DIRRTL = 2351
%IDM_BLOCKDIRLTR = 2352
%IDM_BLOCKDIRRTL = 2353
%IDM_INLINEDIRLTR = 2354
%IDM_INLINEDIRRTL = 2355

'// SHDOCVW
%IDM_ISTRUSTEDDLG = 2356

'// MSHTMLED
%IDM_INSERTSPAN = 2357
%IDM_LOCALIZEEDITOR = 2358

'// XML MIMEVIEWER
%IDM_SAVEPRETRANSFORMSOURCE = 2370
%IDM_VIEWPRETRANSFORMSOURCE = 2371

'// Scrollbar context menu
%IDM_SCROLL_HERE = 2380
%IDM_SCROLL_TOP = 2381
%IDM_SCROLL_BOTTOM = 2382
%IDM_SCROLL_PAGEUP = 2383
%IDM_SCROLL_PAGEDOWN = 2384
%IDM_SCROLL_UP = 2385
%IDM_SCROLL_DOWN = 2386
%IDM_SCROLL_LEFTEDGE = 2387
%IDM_SCROLL_RIGHTEDGE = 2388
%IDM_SCROLL_PAGELEFT = 2389
%IDM_SCROLL_PAGERIGHT = 2390
%IDM_SCROLL_LEFT = 2391
%IDM_SCROLL_RIGHT = 2392

'// IE 6 Form Editing Commands
%IDM_MULTIPLESELECTION = 2393
%IDM_2D_POSITION = 2394
%IDM_2D_ELEMENT = 2395
%IDM_1D_ELEMENT = 2396
%IDM_ABSOLUTE_POSITION = 2397
%IDM_LIVERESIZE = 2398
%IDM_ATOMICSELECTION = 2399

'// Auto URL detection mode
%IDM_AUTOURLDETECT_MODE = 2400

'// Legacy IE50 compatible paste
%IDM_IE50_PASTE = 2401

'// ie50 paste mode
%IDM_IE50_PASTE_MODE = 2402

'//;begin_internal
%IDM_GETIPRINT = 2403
'//;end_internal

'// for disabling selection handles
%IDM_DISABLE_EDITFOCUS_UI = 2404

'// for visibility/display in design
%IDM_RESPECTVISIBILITY_INDESIGN = 2405

'// set css mode
%IDM_CSSEDITING_LEVEL = 2406

'// New outdent
%IDM_UI_OUTDENT = 2407

'// Printing Status
%IDM_UPDATEPAGESTATUS = 2408

'// IME Reconversion
%IDM_IME_ENABLE_RECONVERSION = 2409

%IDM_KEEPSELECTION = 2410

%IDM_UNLOADDOCUMENT = 2411

%IDM_OVERRIDE_CURSOR = 2420

%IDM_PEERHITTESTSAMEINEDIT = 2423

%IDM_TRUSTAPPCACHE = 2425

%IDM_BACKGROUNDIMAGECACHE = 2430

%IDM_GETUSERACTIONTIME = 2431
%IDM_BEGINUSERACTION = 2432
%IDM_ENDUSERACTION = 2433
%IDM_SETCUSTOMCURSOR = 2434

%IDM_DEFAULTBLOCK = 6046

%IDM_MIMECSET__FIRST__ = 3609
%IDM_MIMECSET__LAST__ = 3699

%IDM_MENUEXT_FIRST__ = 3700
%IDM_MENUEXT_LAST__ = 3732
%IDM_MENUEXT_COUNT = 3733

'// Commands mapped from the standard set. We should
'// consider deleting them from public header files.


%IDM_OPEN = 2000
%IDM_NEW = 2001
%IDM_SAVE = 70
%IDM_SAVEAS = 71
%IDM_SAVECOPYAS = 2002
%IDM_PRINTPREVIEW = 2003
%IDM_SHOWPRINT = 2010
%IDM_SHOWPAGESETUP = 2011
%IDM_PRINT = 27
%IDM_PAGESETUP = 2004
%IDM_SPELL = 2005
%IDM_PASTESPECIAL = 2006
%IDM_CLEARSELECTION = 2007
%IDM_PROPERTIES = 28
%IDM_REDO = 29
%IDM_UNDO = 43
%IDM_SELECTALL = 31
%IDM_ZOOMPERCENT = 50
%IDM_GETZOOM = 68
%IDM_STOP = 2138
%IDM_COPY = 15
%IDM_CUT = 16
%IDM_PASTE = 26

'// Defines for IDM_ZOOMPERCENT
%CMD_ZOOM_PAGEWIDTH = -1
%CMD_ZOOM_ONEPAGE = -2
%CMD_ZOOM_TWOPAGES = -3
%CMD_ZOOM_SELECTION = -4
%CMD_ZOOM_FIT = -5

'// IDMs for CGID_EditStateCommands group
%IDM_CONTEXT = 1
%IDM_HWND = 2

'// Shdocvw Execs on CGID_DocHostCommandHandler
%IDM_NEW_TOPLEVELWINDOW = 7050

'//
'// Undo persistence comands
'//

%IDM_PRESERVEUNDOALWAYS = 6049
%IDM_PERSISTDEFAULTVALUES = 7100
%IDM_PROTECTMETATAGS = 7101

%IDM_GETFRAMEZONE = 6037

'//;begin_internal
'// <New in IE6>

%IDM_FIRE_PRINTTEMPLATEUP = 15000
%IDM_FIRE_PRINTTEMPLATEDOWN = 15001
%IDM_SETPRINTHANDLES = 15002
%IDM_CLEARAUTHENTICATIONCACHE = 15003
%IDM_GETUSERINITFLAGS = 15004
%IDM_GETDOCDLGFLAGS = 15005
'//;end_internal
 

 

Page last updated on Saturday, 07 January 2006 15:39:26 +0100