UINT BCGM_ON_BEFORE_SHOW_RIBBON_ITEM_MENU |
Sent to Ribbon's parent before popup menu has been displayed.
wParam | this parameter is not used. |
lParam | a pointer to CBCGPBaseRibbonElement. |
The framework sends BCGM_ON_BEFORE_SHOW_RIBBON_ITEM_MENU registered message to the Ribbon's parent before popup menu has been displayed.
You can process this message and modify popup menus on the fly.