Posted 21 years ago
by Adamczak
-
Developer,
AAA Software Enterprises

Is there a way to programatically un-autohide a docked tool window?
I have the following code for programatically autohiding the window (and it seems to work):parent is a DWToolWindow.
When I try to do the opposite:the window unhides, but it also undocks and starts floating. I want it to redock to where it was before it was hidden. Is there a way to do this?
I have the following code for programatically autohiding the window (and it seems to work):
if (parent.Docked && !parent.Attached && parent.State == DWToolWindowState.Dockable) {
parent.State = DWToolWindowState.AutoHide;
}
When I try to do the opposite:
if (parent.Docked && !parent.Attached && parent.State == DWToolWindowState.AutoHide)
{
parent.State = DWToolWindowState.Dockable;
}