Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining


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.

Header: afxwin.h

© 2015 Microsoft