Delen via


CMDIFrameWndEx::NegotiateBorderSpace

Negotiates border space in a frame window during OLE in-place activation.

virtual BOOL NegotiateBorderSpace(
   UINT nBorderCmd,
   LPRECT lpRectBorder
);

Parameters

  • [in] nBorderCmd
    Contains one of the following values from the enum CFrameWnd::BorderCmd:

    • borderGet = 1

    • borderRequest = 2

    • borderSet = 3

  • [in, out] lpRectBorder
    Pointer to a RECT Structure or a CRect Class object that specifies the coordinates of the border.

Return Value

Nonzero if the method was successful; otherwise 0.

Remarks

This method is an implementation of OLE border space negotiation.

Requirements

Header: afxmdiframewndex.h

See Also

Reference

CMDIFrameWndEx Class

Hierarchy Chart