prevent displaying hidden pane when mousemove |
Post Reply |
Author | |
maha_saad
Newbie Joined: 02 November 2008 Status: Offline Points: 2 |
Post Options
Thanks(0)
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.
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello,
Sorry, there is no option. You can change CXTPDockingPaneAutoHidePanel::OnMouseHover method and rebuild toolkit.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
maha_saad
Newbie Joined: 02 November 2008 Status: Offline Points: 2 |
Post Options
Thanks(0)
|
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; } |
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
Shouldn't it be GetKeyState()? Don't you want to get the state when the message was processed?
Just a guess.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |