BCGSuite for MFC
CBCGPRect CBCGPVisualContainer::GetBoundsRect ( BOOL  bOnlyVisible = FALSE) const

Gets a rectangle which includes all child visual objects.

Parameters
bOnlyVisibleSpecify whether to include invisible child objects.
Returns
The child objects bounding rectangle.