Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / February 2006

Tip: Looking for answers? Try searching our database.

Advanced Docking Control

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
formula - 07 Feb 2006 21:03 GMT
I posted this on the un-managed MSDN forums on accident. I'm hoping to get a
response here...

I've searched everywhere to find out how to do this...

It's easy to change the order of docked windows via z-order. Somehow though,
certain controls have the ability to override the z-order and dock to the
outermost position on its container. How is this possible. I have a simple
panel control I'd like to dock to the outer edges of my form, but the
Infragistics UltraDockManager seems to be able to dock its windows outside a
Panel despite sending it to the back of the z-order.

I also noticed that a ToolStripPanel control, when docked to the edge of the
form, is able to dock outside of the DockManager windows. Any insight on
this? Thanks for your time.
"Jeffrey Tan[MSFT]" - 08 Feb 2006 09:25 GMT
Hi formula,

Thanks for your post.

Based on my understanding, you need the control always on top and can be
placed outside its container, please feel free tell me if I have
misunderstoodd you.

From your description, I think a floating toolbar may meet your requirement.

I found a example from www.codeproject.com can give you the concept of how
to use toolbar:
http://www.codeproject.com/cs/menu/ToolBarDock.asp
The code is well-performed.

Hope this helps. If you have any questions or concerns, please feel free to
post it in the group. I am standing by to be of assistance.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Signature

Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

formula - 08 Feb 2006 15:20 GMT
Thanks for your help. I actually found the answer I was looking for while
browsing through the Infragistics code. In their docking code, they provide
an interface IDockingArea that lets you specify a priority level for a
control that implements it. Their docking manager then orders controls in the
parent container based upon this priority level.

Thanks again for your help!

> Hi formula,
>
[quoted text clipped - 19 lines]
> Get Secure! - www.microsoft.com/security
> This posting is provided "as is" with no warranties and confers no rights.
"Jeffrey Tan[MSFT]" - 09 Feb 2006 01:26 GMT
Hi formula,

I am glad you find the solution yourself. If you need further help, please
feel free to post. Thanks

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Signature

Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.


Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.