COleServerDoc::OnResizeBorder

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

The framework calls this function when the container application’s frame windows change size. 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 OLE documentation.

This is an advanced overridable.

COleServerDoc OverviewClass MembersHierarchy Chart

See Also   COleServerDoc::OnShowControlBars