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


COleServerDoc::OnResizeBorder

The framework calls this function when the container application's frame windows change size.

virtual void OnResizeBorder(
   LPCRECT lpRectBorder,
   LPOLEINPLACEUIWINDOW lpUIWindow,
   BOOL bFrame 
);

Параметры

  • lpRectBorder
    Pointer to a RECT structure or a CRect object that specifies the coordinates of the border.

  • lpUIWindow
    Pointer to an object of class IOleInPlaceUIWindow that owns the current in-place editing session.

  • bFrame
    TRUE if lpUIWindow points to the container application's top-level frame window, or FALSE if lpUIWindow points to the container application's document-level frame window.

Заметки

This function resizes and adjusts toolbars and other user-interface elements in accordance with the new window size.

For more information, see IOleInPlaceUIWindow in the Windows SDK.

This is an advanced overridable.

Требования

Header: afxole.h

См. также

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

COleServerDoc Class

COleServerDoc Members

Hierarchy Chart

COleServerDoc::OnShowControlBars