BCGControlBar Pro for MFC
BOOL CBCGPAppBarWnd::UnRegister ( )

Unregisters an application bar.

Returns
Always returns TRUE.

A wrapper function for the ABM_REMOVE message. It calls the SHAppBarMessage function to unregister the application bar by removing it from the system's internal list.

Usually, you don't need to call directly any wrapper functions, the framework do all necessary calls.