Share via


IOleObjectImpl::DoVerbHide

 

Deactivates and removes the control's user interface, and hides the control.

Syntax

      HRESULT DoVerbHide(
   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

Returns S_OK.

Requirements

Header: atlctl.h

See Also

IOleObjectImpl Class
IOleObjectImpl::DoVerbShow