BCGControlBar Pro for MFC
UINT BCGPM_ON_AFTER_SHELL_COMMAND

The BCGPM_ON_AFTER_SHELL_COMMAND message is sent to a parent of CBCGPShellList or CBCGPShellTree controls when a shell command has been executed.

Parameters
wParamcontains an ID of command that has been executed
lParamThis parameter is not used.
Returns
If the application processes this message, it should return zero.