BCGControlBar Pro for MFC
void CBCGPCaptionBar::SetMargin ( int  nMargin)
inline

Sets the distance between edges of caption bar elements and edges of the caption bar control.

Call this function to set the distance between edges of caption bar elements and edges of the caption bar control (in pixels). The current margin value can be retrieved using GetMargin().

The default value is 4 pixels (when DPI is 100%).

Parameters
nMarginSpecifies the distance between edges of caption bar elements and caption bar control, in pixels.