Print Page | Close Window

Can't get pane to open by click only

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=17810
Printed Date: 02 June 2024 at 6:50am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Can't get pane to open by click only
Posted By: MichaelN
Subject: Can't get pane to open by click only
Date Posted: 26 January 2011 at 1:57pm
Where do I set the following option so the pane never opens by hovering?

SetOptions( xtpPaneNoHoverShow );

I've tried setting it in the XTP_DPN_SHOWWINDOW notification but the pane still opens the first time by hovering. After that it works correctly, requiring a click to open. I don't want it to open the first time by hovering.
 
Michael



Replies:
Posted By: Oleg
Date Posted: 27 January 2011 at 4:44am
Hi,

best way in CMainFrame::OnCreate - call
m_paneManager.SetDefaultPaneOptions(xtpPaneNoHoverShow ); - it will apply for all panes.


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


Posted By: MichaelN
Date Posted: 04 February 2011 at 6:10pm
Hi Oleg,
 
Yes, that worked. Thank you!
 
Michael



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