Partager via


IOleObjectImpl::DoVerbHide

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

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

Concepts

IOleObjectImpl Class

IOleObjectImpl Members

IOleObjectImpl::DoVerbShow