BCGControlBar Pro for MFC
BOOL CBCGPVisualLayout::AddAnchor ( CBCGPBaseVisualObject pObject,
XMoveType  typeMove,
XSizeType  typeSize,
const CPoint &  percMove = CPoint(100, 100),
const CPoint &  percSize = CPoint(100, 100) 
)

Adds an anchor.

Parameters
pObjectA pointer to the visual object.
typeMoveDefines move direction.
typeSizeDefines resize method.
percMoveDefines (in percents) how far a visual object is moved when a container is resized.
percSizeDefines (in percents) how visual object is resized.
Returns
TRUE if it succeeds, FALSE if it fails.