![]()  | 
 
MDI Form DockingPane and CommandBars Compatibility | 
 
    Post Reply  
   | 
  
| Author | |
   
   yemo  
   
   Newbie  
   Joined: 22 November 2005 Status: Offline Points: 10  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: MDI Form DockingPane and CommandBars CompatibilityPosted: 14 January 2007 at 3:24pm  | 
 
| 
   
    
   Greetings,
 
   
  Just wondered if the latest version fixed a compatibility issue with using both a Commandbar and DockingPane control on a VB6 MDi form. When this is done, only the dockingpane control is visible. NB I can upload a sample project for you to test this. I just took the CommandBar sample and the DockingPane sample and merged the two VB6 projects.  | 
 |
![]()  | 
 |
   
   Oleg  
   
   Senior Member  
   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 15 January 2007 at 1:06am | 
 
| 
   
    
   Hi,
 
   
  See samples from Common folder. GUISample for example. 
You have to add  
DockingPaneManager.SetCommandBars Me.CommandBars 
   code string.  | 
 |
| 
   
     
     Oleg, Support Team 
   
  CODEJOCK SOFTWARE SOLUTIONS  | 
 |
![]()  | 
 |
   
   yemo  
   
   Newbie  
   Joined: 22 November 2005 Status: Offline Points: 10  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 15 January 2007 at 6:24am | 
 
| 
   
    
   That's great! Thanks!
    
   
   | 
 |
![]()  | 
 |
   
   yemo  
   
   Newbie  
   Joined: 22 November 2005 Status: Offline Points: 10  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 30 January 2007 at 5:15pm | 
 
| 
   
    
   Oleg,
 
   
  One further question relating to this. Is there a way of ensuring that the panels do not dock ABOVE the command bars and/or dock below any statusbars on an MDI pareent form? The function DockingPaneManager_GetClientRect doesnt seem to affect the window placement.  | 
 |
![]()  | 
 |
   
   Oleg  
   
   Senior Member  
   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 31 January 2007 at 1:23am | 
 
| 
   
    
   Hi,
 
   
  If you see DockingPanes above CommandBars, in designer right click on DockingPane and choose send to back. 
    | 
 |
| 
   
     
     Oleg, Support Team 
   
  CODEJOCK SOFTWARE SOLUTIONS  | 
 |
![]()  | 
 |
   
   yemo  
   
   Newbie  
   Joined: 22 November 2005 Status: Offline Points: 10  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 31 January 2007 at 4:20am | 
 
| 
   
    
   Thanks. That works.
    
   
   | 
 |
![]()  | 
 |
    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  |