Freigeben über


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_MSHTML command group. These commands are defined in Mshtmcid.h.

Return Value

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

Requirements

Header: afxhtml.h

See Also

Concepts

CHtmlEditCtrlBase Class

CHtmlEditCtrlBase Members

IOleCommandTarget::QueryStatus