BCGControlBar Pro for MFC
void CBCGPAppBarWnd::GetPos ( CRect &  rect)

Retrieve the bounding rectangle of the Windows task bar.

GetPos is a wrapper function for the ABM_GETTASKBARPOS message. It calls the SHAppBarMessage function to retrieve the bounding rectangle of the application bar.

Parameters
rectIt receives the bounding rectangle, in screen coordinates, of the task bar