Dynamic menu creation of Ribbon SplitButton |
Post Reply |
Author | |
Marco1
Senior Member Joined: 16 January 2004 Location: Germany Status: Offline Points: 251 |
Post Options
Thanks(0)
Posted: 18 June 2011 at 11:50am |
I have to generate the menu content of a ribbon split button every time just before the menu is shown.
In the example I don't want the three "Option 1-3" be static content, they need to be created right after the split button is clicked and before menu dropdown. I tried to receive a CBN_DROPDOWN message - but it seems the split button doesn't send one. Other way may be the ON_XTP_INITCOMMANDSPOPUP message but this seems to be send only to mainframe? Any suggestions about this? |
|
markr
Senior Member Joined: 01 August 2004 Status: Offline Points: 443 |
Post Options
Thanks(0)
|
Yes, ON_XTP_INITCOMMANDSPOPUP seems to be the best way to do this.
> but this seems to be send only to mainframe? Guess notification is just sent to the parent window, which seems reasonable enough. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |