BCGControlBar Pro for MFC
virtual void CBCGPAppBarWnd::OnAppBarWindowArrange ( BOOL  bBeginning)
virtual

Called by the framework to handle the system ABN_WINDOWARRANGE message.

The ABN_WINDOWARRANGE message notifies an application bar that the user commands the shell to rearrange the opened windows (Tile Horizontally, Tile Vertically, and Cascade).

This notification is sent twice, once before the arrangement and once after the arrangement. According to the bBeginning you know whether it is before or after the arrangement.

Parameters
bBeginningIf TRUE, the notification was sent before the arrangements, otherwise - it was called after the arrangements.