Print Page | Close Window

How to make docking like this

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=1405
Printed Date: 14 May 2024 at 3:50pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to make docking like this
Posted By: zwdhm
Subject: How to make docking like this
Date Posted: 13 November 2004 at 10:25pm

I am using commandbars, taskpanel  and dockingbars. When the  docking pane docks at the top,

the taskpanel will move downword. How to make position of taskpanel unchangeable, and the pane just make pane docking at the right of taskpanel?

 

 




Replies:
Posted By: SuperMario
Date Posted: 13 November 2004 at 11:32pm
Try addeing the following code to the CommandBars_RepositionAlignedControls event assuming you name your TaskPanel "wndTaskPanel":

Private Sub CommandBars_RepositionAlignedControls(Left As Long, Top As Long, Right As Long, Bottom As Long)

    CommandBars.MoveAlignedControl wndTaskPanel, Left, Top, Right, Bottom

End Sub


Posted By: zwdhm
Date Posted: 14 November 2004 at 8:11am

I have tried, but nothing happened.

I set a breakpoint on the line(CommandBars.MoveAlignedControl wndTaskPanel, Left, Top, Right, Bottom), and I run the program, the program will never break.



Posted By: SuperMario
Date Posted: 14 November 2004 at 12:12pm
That will work for MDI programs.  So you must have a SDI program.  In that case, I would try changing the "top" variable in the getclientboarder event.  something like top=wndtaskpanel.top, not sure, I don't have codejock on this machine so I can not test or look at properties.


Posted By: zwdhm
Date Posted: 14 November 2004 at 6:28pm

I upload an image named yy.. This is a picutre a of my program.RealTimeChart is docking pane,there is a taskpanel(left) and client area(right) below it.

 



Posted By: zwdhm
Date Posted: 15 November 2004 at 6:10pm

SuperMario:

If you have seen the picture above, you will find that taskpanel is below docking pane. In fact, I want the taskpanel lies in the left side of docking pane and client area, it should connect with commandbar.



Posted By: Oleg
Date Posted: 16 November 2004 at 11:23pm
https://forum.codejock.com/uploads/oleg/2004-11-16_232258_tp.zip - 2004-11-16_232258_tp.zip

-------------
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