ICommandQueryEvent Class

class ICommandQueryEvent: public IEvent

A command query event is sent to command listeners to find out if a given command is handled. A command query event contains a command ID that indicates the command that is being queried.

Defined in: CommandEvent.h

Class Members

virtual UINT GetCommandID() const

Return the command ID.

virtual void SetCommandID(const UINT nCommandID)

Set the command ID.