BCGControlBar Pro for MFC
void CBCGPControlBar::SetBorders ( int  cxLeft = 0,
int  cyTop = 0,
int  cxRight = 0,
int  cyBottom = 0,
BOOL  bIsTransparent = FALSE 
)

Sets the border values of the control bar.

Call this function to set the size of the control bar's borders.

For instance, the following code example sets the top and bottom borders of the control bar to 5 pixels, and the left and right borders to 2 pixels:

Copy
m_myControlBar.SetBorders(2, 5, 2, 5);
Parameters
cxLeftThe width (in pixels) of the control bar's left border.
cyTopThe height (in pixels) of the control bar's top border.
cxRightThe width (in pixels) of the control bar's right border.
cyBottomThe height (in pixels) of the control bar's bottom border.
bIsTransparentTRUE - the border is transparent.