BCGControlBar Pro for MFC
BOOL CBCGPAppBarWnd::Register ( )

Registers a new application bar.

Returns
Returns TRUE if successful, or FALSE if an error occurs or if the application bar is already registered.

A wrapper function for the ABM_NEW message. It calls the SHAppBarMessage function to register a new application bar.

This function registers a new application bar and specifies the AppBarCallback() function as callback function that the system should use to send notification messages. Before managing the application bar it should be registered first.

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