MZTools Articles Series: HOWTO: Detect when a Visual Studio toolwindow is shown or hidden

This is another article that was in my list of articles “pending to write” and that is asked from time to time in the forums:

HOWTO: Detect when a Visual Studio toolwindow is shown or hidden
http://www.mztools.com/articles/2011/MZ2011010.aspx