PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Framework Forms Advanced Docking Control

Reply

Advanced Docking Control

 
Thread Tools Rate Thread
Old 07-02-2006, 09:03 PM   #1
=?Utf-8?B?Zm9ybXVsYQ==?=
Guest
 
Posts: n/a
Default Advanced Docking Control


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.

  Reply With Quote
Old 08-02-2006, 09:25 AM   #2
Jeffrey Tan[MSFT]
Guest
 
Posts: n/a
Default RE: Advanced Docking Control

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.

  Reply With Quote
Old 08-02-2006, 03:20 PM   #3
=?Utf-8?B?Zm9ybXVsYQ==?=
Guest
 
Posts: n/a
Default RE: Advanced Docking Control

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

  Reply With Quote
Old 09-02-2006, 01:26 AM   #4
Jeffrey Tan[MSFT]
Guest
 
Posts: n/a
Default RE: Advanced Docking Control

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.

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off