Compartir a través de


IDM_DEFAULTBLOCK Command ID

Set or retrieves the default block element.

C++ Information

Command group CGID_MSHTML (defined in mshtmhst.h)
Symbolic constant IDM_DEFAULTBLOCK
User interface None. Set nCmdExecOpt to OLECMDEXECOPT_DONTPROMPTUSER.
IOleCommandTarget::Exec parameters
pvaInVARIANT of type VT_BSTR that specifies either "P" or "DIV" as the default block element. This parameter is optional and can be set to NULL.
pvaOut Optional. VARIANT of type VT_BSTR that receives the currently defined default. This parameter is optional and can be 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.

Minimum Availability

Internet Explorer 4.0 and later.