Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - how to make popup menu on caption bar?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

how to make popup menu on caption bar?

 Post Reply Post Reply
Author
Message
Taetae View Drop Down
Newbie
Newbie


Joined: 21 June 2007
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Taetae Quote  Post ReplyReply Direct Link To This Post Topic: how to make popup menu on caption bar?
    Posted: 10 July 2007 at 9:41pm
like this feature -->
 
now I'm try to add code in OnDockingPaneNotify
in case : XTP_DPN_PANEMENUCLICK
 
but I don't know how to specify the menu button.
Can you please give me some sample.
Thank you.
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: 11 July 2007 at 12:07am

Hi,

Add menu with with
m_paneManager.SetDefaultPaneOptions(xtpPaneHasMenuButton);
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Taetae View Drop Down
Newbie
Newbie


Joined: 21 June 2007
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Taetae Quote  Post ReplyReply Direct Link To This Post Posted: 11 July 2007 at 12:28am
thank you.
But I have done already, my problem is I don't know the menu's ID.
Is it need for make popup menu?
 
thanks so much. 
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: 11 July 2007 at 4:05am
Hi,
 
Yes, you have popup some menu in XTP_DPN_PANEMENUCLICK event.
Check our samples.
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.188 seconds.