IDM_FONT Command ID

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

C++ Information

Command group CGID_MSHTML (defined in mshtmhst.h)
Symbolic constant IDM_FONT
User interface Yes. Set nCmdExecOpt to OLECMDEXECOPT_PROMPTUSER.
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.

Minimum Availability

Internet Explorer 4.0 and later.