BCGControlBar Pro for MFC
UINT BCGM_ON_SWAP_TABS

The framework sends this message to the tab control owner window when the user changes tab order. Add this message handler and return non-zero if you wish to prevent specific tabs from reordering.

Parameters
wParamlow word: a zero-based index of the first tab to be swapped; high word: a zero-based index of the second tab to be swapped.
lParama pointer to tabbed window (the sender)
Returns
return a non-zero value in order to prevent specific tab swapping.