How to disable and enable back docking feature of |
Post Reply |
Author | |
DevDon
Newbie Joined: 12 June 2007 Status: Offline Points: 18 |
Post Options
Thanks(0)
Posted: 13 June 2007 at 9:25am |
How to disable and enable back docking feature of panes?
Is there any function available in 9.7 version ?
|
|
Developer~
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello,
Afraid Actions was added after 9.7 release. Check if you see PaneActions sample.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
DevDon
Newbie Joined: 12 June 2007 Status: Offline Points: 18 |
Post Options
Thanks(0)
|
Thanks
Now have latest Toolkit Pro 11.1.3 version .
I am implementing it in SDI application What function can I use to lock all panes . Expected action is pane will not float after double click on them . They will just stick with each other.
Please advise...
|
|
Developer~
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
In OnDockingPaneNotify add
if (wParam == XTP_DPN_ACTION)
{ XTP_DOCKINGPANE_ACTION* pAction = (XTP_DOCKINGPANE_ACTION*)lParam; pAction->bCancel = TRUE;
return TRUE;
} |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
DevDon
Newbie Joined: 12 June 2007 Status: Offline Points: 18 |
Post Options
Thanks(0)
|
Thanks .
I had old 9.7 version of code jock software now got recent 11.1.3 version . I went through tutorial .
Created sample MDI application .Tutorial says addthese lines to STDAFX header file
#include <XTToolkitPro.h> // Xtreme Toolkit Pro component library
#include <XTSuitePro.h> // Xtreme Suite component library #include <XTDockingPanePro.h> // Xtreme Docking Pane component library But when I compile It says Not able to find XTDockingPanePro.h and XTSuitePro.h files.
I searched it on my machine , XTSuitePro.hwas not found at all .
But XTDockingPanePro.h was found in old 9.7 version docking pane folder .
Am I suppose to use XTDockingPanePro.h from 9.7 /old version .?
And where can I find XTSuitePro.h file .
Please advise
|
|
Developer~
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello,
you only need
#include <XTToolkitPro.h>
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
DevDon
Newbie Joined: 12 June 2007 Status: Offline Points: 18 |
Post Options
Thanks(0)
|
Thanks Oleg .....It worked fine with XTToolkitPro.h ..Perfect
But still wondering ....Why Helpfile in Help folder misguided ...to include 2 more files....anyway
Thank you very much for the help ...
|
|
Developer~
|
|
DevDon
Newbie Joined: 12 June 2007 Status: Offline Points: 18 |
Post Options
Thanks(0)
|
hi Oleg I used xtpPaneNoFloatable for setting options .
1. When user says docking view(my menu item ) I pass this xtpPaneNoFloatable to setoption function and
2. When user doesn't want docking panes i set ~xtpPaneNoFloatable in set options .
I assume floatable means . when user click on and drag pane he can move it . With xtpPaneNoFloatable he should not be able to drag it .
But the problem is when I say xtpPaneNoFloatable it still allows user to drag panes in application window ..
Would you Please show me how to make panes stick to each other parmanently . Which option can I set to make them undockable . and how?
Thanks
|
|
Developer~
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello,
xtpPaneNoFloatable means that user can't float it - move outsize application and create external window.
You need Actions to prevent all dragging - see Samples\DockingPane\PaneActions
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
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 |