Export (0) Print
Expand All
Expand Minimize

CHtmlView::QueryFormsCommand

Queries for the status of one or more commands generated by user interface events.

HRESULT QueryFormsCommand( 
   DWORD dwCommandID, 
   BOOL* pbSupported, 
   BOOL* pbEnabled, 
   BOOL* pbChecked 
);

dwCommandID

The identifier of the command being queried for.

pbSupported

A pointer to a BOOL specifying if the command (identified by dwCommandID) is supported. If TRUE, the command is supported; otherwise FALSE.

pbEnabled

A pointer to a BOOL specifying if the command (identified by dwCommandID) is enabled. If TRUE, the command is supported; otherwise FALSE.

pbChecked

A pointer to a BOOL specifying if the command (identified by dwCommandID) is checked. If TRUE, the command is supported; otherwise FALSE.

A standard HRESULT value. For a complete listing of possible values, see IOleCommandTarget::QueryStatus in the Windows SDK.

QueryFormsCommand implements the behavior of the IOleCommandTarget::QueryStatus method.

Header: afxhtml.h

Show:
© 2014 Microsoft