Print Page | Close Window

how to make popup menu on caption bar?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=7575
Printed Date: 27 September 2024 at 6:54am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: how to make popup menu on caption bar?
Posted By: Taetae
Subject: how to make popup menu on caption bar?
Date Posted: 10 July 2007 at 9:41pm
like this feature -->
http://www.codejock.com/products/dockingpane/tour_16.asp - http://www.codejock.com/products/dockingpane/tour_16.asp
 
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.



Replies:
Posted By: Oleg
Date Posted: 11 July 2007 at 12:07am

Hi,

Add menu with with
m_paneManager.SetDefaultPaneOptions(xtpPaneHasMenuButton);


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


Posted By: Taetae
Date 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. 


Posted By: Oleg
Date 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



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