Partager via


CComControlBase::DoesVerbUIActivate

Checks that the iVerb parameter used by IOleObjectImpl::DoVerb causes the control's user interface to activate and returns TRUE.

BOOL DoesVerbUIActivate( 
   LONG iVerb  
);

Parameters

  • iVerb
    Value indicating the action to be performed by DoVerb.

Return Value

Returns TRUE if iVerb equals OLEIVERB_UIACTIVATE, OLEIVERB_PRIMARY, OLEIVERB_SHOW, or OLEIVERB_INPLACEACTIVATE. Otherwise, the method returns FALSE.

Requirements

Header: atlctl.h

See Also

Reference

CComControlBase Class

IOleObjectImpl::DoVerb

CComControlBase::DoesVerbActivate