CCmdTarget Member Functions

Construction
CCmdTarget Constructs a CCmdTarget object.
Attributes
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 function should return a value.
Operations
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.
Overridables
OnCmdMsg Routes and dispatches command messages.
OnFinalRelease Cleans up after the last ActiveX reference is released.

See Also

CCmdTarget Overview, Application Architecture Classes