BCGControlBar Pro for MFC
UINT BCGM_CHANGE_ACTIVE_TAB

This message is sent to the parent of CBCGPTabWnd object when an active tab was changed.

Parameters
wParamcontains the number of a tag.
lParama pointer to CBCGPBaseTabWnd window (sender).
Returns
Should return nonzero.

You should process this message to receive notifications from CBCGPTabWnd objects when an active tab was changed.