What's the simplest way to construct a undockable toolwindow

Docking/MDI for Windows Forms Forum

Posted 17 years ago by Buddhist
Avatar
I have no idea about this, except setting all CanDockHost* to false.

Any other simpler way?
Thx

Comments (5)

Posted 17 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
That is the correct way to do it.


Actipro Software Support

Posted 17 years ago by Buddhist
Avatar
But there is a flaw with this method.

At the startup, that undockable toolwindow was docked somewhere by default. That's not perfect for my purpose.
Actually, what I need is a top-most form, but just being top-most of the hosting applicatiion. So I couldn't simply set the TopMost property of the form to true, that's applied to all apps.
Posted 17 years ago by Buddhist
Avatar
Besides, I just found that even after disabled all CanDock* and disabled the CanAttach property, it's still dockble to default dock location, the left area.


Is there a way to completely disable the docking feature of the tool window?

[Modified at 03/15/2007 04:30 AM]
Posted 17 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Do those things AND take it out of a dockable state (ToolWindow.State). That should get it working like you want.


Actipro Software Support

Posted 17 years ago by Buddhist
Avatar
It works!
Thx.

Anyway, I'd like to see an individual property CanDock to configure this feature.
The latest build of this product (v24.1.0) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.