IOleObjectImpl::DoVerb

HRESULT DoVerb( LONG iVerb, LPMSG lpmsg, IOleClientSite* pActiveSite, LONG lindex, HWND hwndParent, LPCRECT lprcPosRect );

See IOleObject::DoVerb in the Win32 SDK.

Remarks

The ATL implementation of this function uses only the first parameter, iVerb. Depending on the value of iVerb, one of the ATL DoVerb helper functions is called as follows:

iVerb Value DoVerb helper function called
OLEIVERB_DISCARDUNDOSTATE DoVerbDiscardUndo
OLEIVERB_HIDE DoVerbHide
OLEIVERB_INPLACEACTIVATE DoVerbInPlaceActivate
OLEIVERB_OPEN DoVerbOpen
OLEIVERB_PRIMARY DoVerbPrimary
OLEIVERB_PROPERTIES CComControl::DoVerbProperties
OLEIVERB_SHOW DoVerbShow
OLEIVERB_UIACTIVATE DoVerbUIActivate

IOleObjectImpl OverviewClass Members

See Also   IOleObject::EnumVerbs