CCmdTarget Methods

Construction Methods

Method Description
CCmdTarget Constructs a CCmdTarget object.

Attributes Methods

Method Description
FromIDispatch Returns a pointer to the CCmdTarget object associated with the IDispatch pointer.
GetIDispatch Returns a pointer to the IDispatch object associated with the CCmdTarget object.
IsResultExpected Returns nonzero if an Automation method should return a value.

Operations Methods

Method Description
BeginWaitCursor Displays the cursor as an hourglass cursor.
EnableAutomation Enables Automation for the CCmdTarget object.
EndWaitCursor Returns to the previous cursor.
RestoreWaitCursor Restores the hourglass cursor.

Overridable Methods

Method Description
OnCmdMsg Routes and dispatches command messages.
OnFinalRelease Cleans up after the last ActiveX reference is released.