BCGControlBar Pro for MFC
void CBCGPControlBar::CalcInsideRect ( CRect &  rect,
BOOL  bHorz 
) const

Calculates the inside rectangle of a control bar taking into account the borders and grippers.

This function is usually called by the framework when it needs to recalculate a control bar layout. CalcInsideRect fills the rect out parameter with the size and offset of the client area taking into account the control bar orientation, borders and grippers.

Parameters
rect[out] - will contain the size and offset of the control bar client area.
bHorzSpecifies the orientation of a control bar.