Advanced Docking Control

G

Guest

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

Jeffrey Tan[MSFT]

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

Guest

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

Jeffrey Tan[MSFT]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top