Поделиться через


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 
);

Параметры

  • 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.

Возвращаемое значение

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

Заметки

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

Требования

Header: afxhtml.h

См. также

Основные понятия

CHtmlView Class

CHtmlView Members

Hierarchy Chart