Share via


CHtmlView::OnResizeBorder

Called from the Internet Explorer or MSHTML implementation of IOleInPlaceActiveObject::ResizeBorder, which alerts the object that it needs to resize its border space.

virtual HRESULT OnResizeBorder( 
   LPCRECT prcBorder, 
   LPOLEINPLACEUIWINDOW pUIWindow, 
   BOOL fFrameWindow  
);

Parameters

  • prcBorder
    New outer rectangle for border space.

  • pUIWindow
    A pointer to the interface for the frame or document window object whose border has changed.

  • fFrameWindow
    TRUE if the frame window is calling IOleInPlaceActiveObject::ResizeBorder, otherwise FALSE.

Return Value

S_OK if successful, or an OLE-defined error code otherwise.

Remarks

Override OnResizeBorder to react to the ResizeBorder notification from the Microsoft Web Browser control. See IDocHostUIHandler::ResizeBorder in the Windows SDK for more information.

Requirements

Header: afxhtml.h

See Also

Reference

CHtmlView Class

Hierarchy Chart