![]() |
How to change CXTPPopupBar Site & Owner |
Post Reply ![]() |
Author | |
lrenoux ![]() Groupie ![]() Joined: 20 April 2009 Status: Offline Points: 62 |
![]() ![]() ![]() ![]() ![]() Posted: 20 April 2009 at 9:03am |
I'm trying to create a popup bar which is a menu's child like you did in DynamicPopups sample (custom control CControlUndo). The menu is not in the main frame but in a dialog box which is a plug to an application (main frame). I receive message ON_XTP_CREATECOMMANDBAR() in my dialog box and create the popup bar. Because the site and the owner couldn't be changed, i always receive ON_XTP_CREATECONTROL ON_XTP_AFTERCREATECONTROL in the main frame.
Could it be possible to change site and owner like you did in CXTPCustomizeSheet::CreateContextMenu() (friend class CXTPCustomizeSheet in CXTPCommandBar) to handle message where i want, by an another way ?
Thanks
L.
|
|
![]() |
|
Barto ![]() Groupie ![]() Joined: 27 February 2005 Location: Germany Status: Offline Points: 60 |
![]() ![]() ![]() ![]() ![]() |
Any news on this topic? This would have been the cleaner solution for my problem, too.
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi, It have go to dialog. Show related code.
|
|
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 |