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.
rect | [out] - will contain the size and offset of the control bar client area. |
bHorz | Specifies the orientation of a control bar. |