Posted 20 years ago by Bernd
Avatar
In VS .NET when a tool window is
docked to left for instance and it is
in AutoHide state and you click on
AutoHide mode "Off" ( by clicking on the pin or by context menu)
the Tool Window will be docked at the same position
wher eit was as its state was AutoHide.

How can I do this with Actipro ?

The Default Context Menu AutoHide Menu Item
behavior is wrong as it floats the tool window
when you uncheck "AutoHide".
(Beside this I dont want to use the Default Contect Menu anyway).

I can set the the state to "AutoHide", but
how do I do the opposite without that the
toolwindow gets floated?

Bernhard

Comments (3)

Posted 20 years ago by Bernd
Avatar
Now it works by just setting the state to:

ActiproSoftware.DockableWindow.DWToolWindowState.Dockable;

.

I dont know why it did not work before. May be I did a mistake.

So its fine now.

Bernhard
Posted 20 years ago by Bernd
Avatar
I was too quick. It's not fine.

It workes only correctly if the tool window
was closed (hide) in a "docked" state before.

So if you do this:

1.) Activate ToolWindow
2.) Dock it to the left of the workspace
3.) Close it (Hide it)
4.) Activate ToolWindow again (docked to left)
5.) Set state to "AutoHide"
6.) Set state to "Dockable"

than the result is that it is docked to the left,
like in step 2.). Which is correct and which is the
identical behavior like in VS.NET.


BUT if you do this:

1.) Activate ToolWindow
2.) Float it somewhere (now it not docked)
3.) Close it (Hide it)
4.) Activate ToolWindow again
5.) Dock it to the left of the workspace
6.) Set state to "AutoHide"
7.) Set state to "Dockable"

than the result is that it is NOT docked to the left,
but floated, like in step 2.). Which is NOT the behavior like
in VS.NET and NOT the behavior a user would exspect.
Posted 20 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Thanks for the bug report. I was able to repro it. I'll add that to the TODO list.


Actipro Software Support

The latest build of this product (v2.0.0208) was released 19 years ago, which was after the last post in this thread.