Print Page | Close Window

prevent displaying hidden pane when mousemove

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=12591
Printed Date: 02 January 2025 at 9:36am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: prevent displaying hidden pane when mousemove
Posted By: maha_saad
Subject: prevent displaying hidden pane when mousemove
Date Posted: 02 November 2008 at 5:07am
I want to ask how can I prevent  displaying the hidden pane when mouse move on its tab.
I want it to be only shown when mouse clicked on it.



Replies:
Posted By: Oleg
Date Posted: 03 November 2008 at 1:55am
Hello,
 
Sorry, there is no option. You can change CXTPDockingPaneAutoHidePanel::OnMouseHover method and rebuild toolkit.


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


Posted By: maha_saad
Date Posted: 03 November 2008 at 3:12am
Thank you for responding, but I found solution to my problem I wrote it in case any one has the same problem. 

LRESULT MyAppFrame::OnDockingPaneNotify(WPARAM wParam, LPARAM lParam)

{

if (wParam == XTP_DPN_ACTION)
{

XTP_DOCKINGPANE_ACTION* pAction = (XTP_DOCKINGPANE_ACTION*)lParam;

if (pAction->action==xtpPaneActionExpanding&&!(GetAsyncKeyState(VK_LBUTTON)))
           pAction->bCancel=true;

return true;

}


Posted By: znakeeye
Date Posted: 07 November 2008 at 7:11am
Shouldn't it be GetKeyState()? Don't you want to get the state when the message was processed?
 
Just a guess.



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