Partager via


CHtmlEditCtrlBase::QueryStatus

Call this method to query the status of commands.

long QueryStatus(
   long cmdID 
) const;

Parameters

  • cmdID
    The command ID. Command identifiers are taken from the CGID_MSHTMLcommand group. These commands are defined in Mshtmcid.h. You can also find the list online at MSHTML Command Identifiers.

Return Value

Returns an OLECMDF indicating the status for cmdID, or 0 on failure.

Requirements

Header: afxhtml.h

See Also

Reference

CHtmlEditCtrlBase Class

IOleCommandTarget::QueryStatus

Other Resources

CHtmlEditCtrlBase Members

MSHTML Command Identifiers