CFrameWndEx::NegotiateBorderSpace

Implements OLE client border negotiation.

virtual BOOL NegotiateBorderSpace(
   UINT nBorderCmd,
   LPRECT lpRectBorder
);

Parameters

  • [in] nBorderCmd
    The border negotiation command. See the Remarks section for possible values.

  • [in, out] lpRectBorder
    Dimensions of the border.

Return Value

TRUE if the layout must be recalculated; otherwise, FALSE.

Remarks

The following table lists the possible values for the nBorderCmd parameter.

  • borderGet
    Get available OLE client space.

  • borderRequest
    Request OLE client space.

  • borderSet
    Set OLE client space.

Requirements

Header: afxframewndex.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CFrameWndEx Class