I have a bunch of collapsed windows (AutoHide in Actipro terms) and I'd like to "un-hide them temporarily" from my code, when some specific thing happens in my application. I got it to work that way by calling Activate() on my toolwindow when its state is AutoHide, but I'd like to also have the inverse behavior, when it is "temporarily displayed" (i.e. after I called Activate on it and it has not been auto-hidden again yet) : I guess calling AutoHide() on it again while it's in that state would put it back in place.
Unfortunately, to my understanding, AutoHide is true whether the tool window is currently hidden or not, which prevents me from detecting properly if I should call AutoHide or Activate on it. Basically, I'd need another boolean, telling me - while in AutoHide mode - whether the window is currently "active" or not. Does such a thing exist?
Thanks for your help.