Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - How to change CXTPPopupBar Site & Owner
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to change CXTPPopupBar Site & Owner

 Post Reply Post Reply
Author
Message
lrenoux View Drop Down
Groupie
Groupie


Joined: 20 April 2009
Status: Offline
Points: 62
Post Options Post Options   Thanks (0) Thanks(0)   Quote lrenoux Quote  Post ReplyReply Direct Link To This Post Topic: How to change CXTPPopupBar Site & Owner
    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.
Back to Top
Barto View Drop Down
Groupie
Groupie


Joined: 27 February 2005
Location: Germany
Status: Offline
Points: 60
Post Options Post Options   Thanks (0) Thanks(0)   Quote Barto Quote  Post ReplyReply Direct Link To This Post Posted: 24 November 2009 at 8:42am
Any news on this topic? This would have been the cleaner solution for my problem, too.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 25 November 2009 at 4:53am

Hi,

It have go to dialog. Show related code.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.