CComControl::DoesVerbActivate

BOOL DoesVerbActivate( LONG iVerb );

Return Value

Returns TRUE if iVerb equals OLEIVERB_UIACTIVATE, OLEIVERB_PRIMARY, OLEIVERB_SHOW, or OLEIVERB_INPLACEACTIVATE; otherwise, returns FALSE.

Parameters

iVerb

[in] Value indicating the action to be performed by DoVerb.

Remarks

Checks that the iVerb parameter used by IOleObjectImpl::DoVerb either activates the control's user interface (iVerb equals OLEIVERB_UIACTIVATE), defines the action taken when the user double-clicks the control (iVerb equals OLEIVERB_PRIMARY), displays the control (iVerb equals OLEIVERB_SHOW), or activates the control (iVerb equals OLEIVERB_INPLACEACTIVATE). You can override this method to define your own activation verb.

CComControl OverviewClass Members

See Also   IOleObjectImpl::DoVerb, CComControl::DoesVerbUIActivate