IOleObjectImpl::DoVerb
Tells the control to perform one of its enumerated actions.
STDMETHOD(DoVerb)(
LONG iVerb,
LPMSG /* pMsg */,
IOleClientSite* pActiveSite,
LONG /* lindex */,
HWND hwndParent,
LPCRECT lprcPosRect
);
Remarks
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 |
|
OLEIVERB_HIDE |
|
OLEIVERB_INPLACEACTIVATE |
|
OLEIVERB_OPEN |
|
OLEIVERB_PRIMARY |
|
OLEIVERB_PROPERTIES |
|
OLEIVERB_SHOW |
|
OLEIVERB_UIACTIVATE |
See IOleObject::DoVerb in the Windows SDK.
Requirements
Header: atlctl.h