Im using VB5 (SP3)

Ive been trying to program a VB addin that will change the layout of my IDE depending on what type of window is active.
(E.G. If Im editing a form I want to see the toolbox, but when a code window is up I want to hide it, similar to the
visual studio 97 Shared IDE)

I found it fairly easy to find the type of window that is active by using VBInstance.ActiveWindow.Type , but I cannot find an event object that will let me trap every case in which the active window is changed. I can use VBComponentsEvents to see if the user changed it using the project window , but there are alot more ways in which a user can change the active window.

My question is , first of all is there an event that I overlooked that triggers when the active window is changed
(I hope so , would be the easiest case =))

or if not are there events for a user pressing view code/view form in project explorer, or simply the user downsizing the active window and selecting one that was underneath.

Any help would be greatly appreciated , thanks