WM_INITMENUPOPUP for CXTPMenuBar |
Post Reply |
Author | |
skura
Newbie Joined: 11 January 2005 Status: Offline Points: 8 |
Post Options
Thanks(0)
Posted: 03 February 2005 at 4:41pm |
I am using CXTPMenuBar in a CXTPDialog. I would like to dynamically add a sub menu when the user clicks on a Menu in the CXTPMenuBar. One can do that in a regular MFC application by handling WM_INITMENUPOPUP. I verified that this approach works for other menus. How can I achieve the same for the menus in CXTPMenuBar? Thanks in advance for your help. |
|
skura
Newbie Joined: 11 January 2005 Status: Offline Points: 8 |
Post Options
Thanks(0)
|
I ended up over loading the OnControlSelected() by defining the following message map entry. ON_MESSAGE(WM_XTP_CONTROLSELECTED, OnControlSelected) |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
better ON_XTP_INITCOMMANDSPOPUP, WM_XTP_INITCOMMANDSPOPUP.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
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 |