PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
Advanced Docking Control
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
Advanced Docking Control
![]() |
Advanced Docking Control |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
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. |
|
|
|
#2 |
|
Guest
Posts: n/a
|
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 Get Secure! - www.microsoft.com/security This posting is provided "as is" with no warranties and confers no rights. |
|
|
|
#3 |
|
Guest
Posts: n/a
|
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! ""Jeffrey Tan[MSFT]"" wrote: > 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 > Get Secure! - www.microsoft.com/security > This posting is provided "as is" with no warranties and confers no rights. > > |
|
|
|
#4 |
|
Guest
Posts: n/a
|
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 Get Secure! - www.microsoft.com/security This posting is provided "as is" with no warranties and confers no rights. |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

