Partager via


IOleObjectImpl::DoVerbUIActivate

Activates the control's user interface and notifies the container that its menus are being replaced by composite menus.

HRESULT DoVerbUIActivate( 
   LPCRECT prcPosRect, 
   HWND /* hwndParent */ 
);

Parameters

  • prcPosRec
    [in] Pointer to the rectangle the container wants the control to draw into.

  • hwndParent
    [in] Handle of the window containing the control. Not used in the ATL implementation.

Return Value

One of the standard HRESULT values.

Requirements

Header: atlctl.h

See Also

Reference

IOleObjectImpl Class

CComControlBase::InPlaceActivate

IOleObjectImpl::DoVerbInPlaceActivate