Posted 19 years ago
by Keith Hill

It seems that the ToolWindow layout file mechanism prefer that you always create your ToolWindows whether they are currently activated or not. I'm OK with but some ToolWindows can potentially put enough of a drain on your system that I would like to know when the ToolWindow has been activated and/or made visible so that I can tell the tool window to start doing its thing. Same goes for ToolWindow being closed or made not visible. If it is doing "graphical" work it might as well stop what it is doing if no one can see it.
I see the WindowActivated/Closed events on DockManager and find mindself longing for the equivalent for ToolWindows. Is there another way to be notified of this type of transition? If not, please consider those events for the next release.
I see the WindowActivated/Closed events on DockManager and find mindself longing for the equivalent for ToolWindows. Is there another way to be notified of this type of transition? If not, please consider those events for the next release.