![]()  | 
 
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)
      Quote   Reply
   
     Topic: How to disable and enable back  docking feature ofPosted: 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  
   
   Senior Member  
   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     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  | 
 |
![]()  | 
 |
   
   DevDon  
   
   Newbie  
   Joined: 12 June 2007 Status: Offline Points: 18  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     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~
     
   
   | 
 |
![]()  | 
 |
   
   Oleg  
   
   Senior Member  
   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     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  | 
 |
![]()  | 
 |
   
   DevDon  
   
   Newbie  
   Joined: 12 June 2007 Status: Offline Points: 18  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     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~
     
   
   | 
 |
![]()  | 
 |
   
   Oleg  
   
   Senior Member  
   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 12 July 2007 at 1:29am | 
 
| 
   
    
   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)
      Quote   Reply
   
     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~
     
   
   | 
 |
![]()  | 
 |
   
   DevDon  
   
   Newbie  
   Joined: 12 June 2007 Status: Offline Points: 18  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     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~
     
   
   | 
 |
![]()  | 
 |
   
   Oleg  
   
   Senior Member  
   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     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  | 
 |
![]()  | 
 |
    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  |