Compartilhar via


ResizeBorder method

Called by the MSHTML implementation of IOleInPlaceActiveObject::ResizeBorder.

Syntax

HRESULT retVal = object.ResizeBorder(prcBorder, pUIWindow, fFrameWindow);

Parameters

  • prcBorder [in]
    Type: LPCRECT

    A constant pointer to a RECT for the new outer rectangle of the border.

  • pUIWindow [in]
    Type: IOleInPlaceUIWindow

    A pointer to an IOleInPlaceUIWindow interface for the frame or document window whose border is to be changed.

  • fFrameWindow [in]
    Type: BOOL

    A BOOL that is TRUE if the frame window is calling IDocHostUIHandler::ResizeBorder, or FALSE otherwise.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.