Print Page | Close Window

How to change CXTPPopupBar Site & Owner

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=14083
Printed Date: 27 February 2025 at 9:04am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to change CXTPPopupBar Site & Owner
Posted By: lrenoux
Subject: How to change CXTPPopupBar Site & Owner
Date 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.



Replies:
Posted By: Barto
Date Posted: 24 November 2009 at 8:42am
Any news on this topic? This would have been the cleaner solution for my problem, too.


Posted By: Oleg
Date Posted: 25 November 2009 at 4:53am

Hi,

It have go to dialog. Show related code.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net