Share via


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

Parameters

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

Remarks

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.

Requirements

Header: afxole.h

See Also

Reference

COleServerDoc Class

Hierarchy Chart

COleServerDoc::OnShowControlBars

Other Resources

COleServerDoc Members