Print Page | Close Window

How to disable and enable back docking feature of

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=7372
Printed Date: 14 May 2024 at 5:55am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to disable and enable back docking feature of
Posted By: DevDon
Subject: How to disable and enable back docking feature of
Date 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~



Replies:
Posted By: Oleg
Date Posted: 15 June 2007 at 5:01am
Hello,
 
Afraid Actions was added after 9.7 release. Check if you see PaneActions  sample.


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


Posted By: DevDon
Date Posted: 10 July 2007 at 1:27pm
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~


Posted By: Oleg
Date Posted: 11 July 2007 at 12:09am
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


Posted By: DevDon
Date Posted: 11 July 2007 at 12:05pm
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~


Posted By: Oleg
Date Posted: 12 July 2007 at 1:29am
Hello,
 
you only need
#include <XTToolkitPro.h>


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


Posted By: DevDon
Date Posted: 12 July 2007 at 9:54am
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~


Posted By: DevDon
Date Posted: 19 July 2007 at 11:32am
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~


Posted By: Oleg
Date Posted: 20 July 2007 at 2:49am
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



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