BCGControlBar Pro for MFC
virtual void CBCGPTabbedControlBar::GetTabArea ( CRect &  rectTabAreaTop,
CRect &  rectTabAreaBottom 
) const
virtual

Returns the size and position of the tab area of the tabbed window.

The framework calls this function when it needs to determine the type of docking to the target control bar. When the framework decides, that the user drags the control bar to be docked over the tab area of the target control bar, it tries to add the first control bar as a new tab of the target control bar. Otherwise it tries to dock the first control bar at some side of the target control bar, creating a new container with a slider.

Override this method in a CBCGPTabbedControlBar - derived class to change this behavior.

Parameters
rectTabAreaTopContains the size and position (in the client coordinates) of the top tab area when the function returns.
rectTabAreaBottomContains the size and position (in the client coordinates) of the bottom tab area when the function returns.

Implements CBCGPBaseTabbedBar.