Regarding to detect the selection in the class view, there are bad and good
news. See:
http://weblogs.asp.net/craigskibo/archive/2003/09/22/51662.aspx
Regarding to change the hosted usercontrol in a toolwindow, I think that
nobody has done that, but you can try calling the HostUserControl (or
similar) function with the new usercontrol. Since the shim control source
code is provided, you can tweak it. Another approach is to have a single
usercontrol that changes its user interface depending on something.

Signature
Carlos J. Quintero
The MZ-Tools all-in-one add-in, now for .NET: http://www.mztools.com
> ToolWindow Add-in Example from:
> Visual Studio .NET 2003 Automation Samples
[quoted text clipped - 11 lines]
> Thanks in advance,
> Nils