CFrameWnd::NegotiateBorderSpace

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

virtual BOOL NegotiateBorderSpace( 
   UINT nBorderCmd, 
   LPRECT lpRectBorder  
);

Parameters

  • nBorderCmd
    Contains one of the following values from the enum BorderCmd:

    • borderGet = 1

    • borderRequest = 2

    • borderSet = 3

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

Return Value

Nonzero if successful; otherwise 0.

Remarks

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

Requirements

Header: afxwin.h

See Also

Reference

CFrameWnd Class

Hierarchy Chart

IOleInPlaceUIWindow