BCGControlBar Pro for MFC
UINT BCGM_ON_GET_RIBBON_COMMANDS_MENU_CUSTOM_ITEMS

Sent to Ribbon's parent before showing command search result menu.

Parameters
wParamThis parameter is not used.
lParamA pointer to CBCGPRibbonCommandsMenuCustomItems structure.
Returns
The return value is ignored.

The framework sends BCGM_ON_GET_RIBBON_COMMANDS_MENU_CUSTOM_ITEMS registered message to the Ribbon's parent when user types a text in the Command Search box and search result menu is displayed.