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.