BCGControlBar Pro for MFC
BOOL CBCGPWorkspace::InitShellManager ( )

Initializes the shell manager

Nonzero if the new global CBCGPShellManager object is created successfully; it is 0 if the global CBCGPShellManager object has already been initialized.

You can call the InitShellManager function explicitly to initialize the Shell manager or wait until the first call to the GetShellManager() function.