Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.


Call this member function to negotiate border space in a frame window during OLE inplace activation.

virtual BOOL NegotiateBorderSpace(
   UINT nBorderCmd,
   LPRECT lpRectBorder 



Contains one of the following values from the enum BorderCmd:

  • borderGet = 1

  • borderRequest = 2

  • borderSet = 3


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

Nonzero if successful; otherwise 0.

This member function is the CFrameWnd implementation of OLE border space negotiation.

Community Additions

© 2015 Microsoft