共用方式為


IDM_HTMLEDITMODE Command ID

Enables the IDM_COMPOSESETTINGS command.

C++ Information

Command group CGID_MSHTML (defined in mshtmhst.h)
Symbolic constant IDM_HTMLEDITMODE
User interface None. Set nCmdExecOpt to OLECMDEXECOPT_DONTPROMPTUSER.
IOleCommandTarget::Exec parameters
pvaInVARIANT of type VT_BOOL that specifies the value TRUE.
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

This command must be issued before issuing the IDM_COMPOSESETTINGS command; otherwise, IDM_COMPOSESETTINGS will have no effect.

Minimum Availability

Internet Explorer 5.5 and later.