Condividi tramite


IDM_INSERTOBJECT Command ID

Inserts a Microsoft ActiveX control.

C++ Information

Command group CGID_MSHTML (defined in mshtmhst.h)
Symbolic constant IDM_INSERTOBJECT
User interface Optional. Set nCmdExecOpt to zero.
IOleCommandTarget::Exec parameters
pvaIn Set to NULL.
pvaOut Set to NULL.
Header file mshtmcid.h
Applies to IHTMLDocument2::execCommand, IHTMLDocument2::queryCommandEnabled, IHTMLDocument2::queryCommandIndeterm, IHTMLDocument2::queryCommandState, IHTMLDocument2::queryCommandSupported, IHTMLDocument2::queryCommandValue, IOleCommandTarget::Exec, IOleCommandTarget::QueryStatus.

Remarks

The ActiveX control is selected by means of the "Insert Object" dialog box. Intrinsic controls (such as buttons, images, or input fields) are mapped to HTML elements; otherwise, an OBJECT tag is inserted. You cannot insert objects into an area or other input controls.

Minimum Availability

Internet Explorer 4.0 and later.