WindowEvents does not cover those modal dialogs, only toolwindows and
document windows.
To detect when the Startup project has changed I would:
1) Capture the AfterExecute event of the command
"Project.SetupasStartUpProject". See:
HOWTO: Capturing commands events from Visual Studio .NET add-ins.
http://www.mztools.com/resources_vsnet_addins.htm
2) Capture when the Project Properties modal dialog has been closed Capture
the AfterExecute event of the command "Project.Properties" in VS.NET
2002/2003. In VS 2005 the window is modeless so I am not sure it it will
work.
Finally, when a problem is unsolvable you need to start thinking if being
notified when the startup project has been changed is really necessary or if
you could modify the logic or user interface of your scenario to get that
data only when required.

Signature
Best regards,
Carlos J. Quintero
MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com
> I'm handling WindowEvents in my code to try and capture when a solution
> Property Page dialog is closing. It doesn't work. I'm getting events when
[quoted text clipped - 7 lines]
> that
> happen.
kehlar - 13 Jul 2006 18:39 GMT
> 2) Capture when the Project Properties modal dialog has been closed Capture
> the AfterExecute event of the command "Project.Properties" in VS.NET
[quoted text clipped - 5 lines]
> you could modify the logic or user interface of your scenario to get that
> data only when required.
That's where I'm heading toward right now, but I'll give your suggestion a
try before giving up. I could always try hacks like using a timer to probe
for the current startup project, or listen to all windows on the desktop but
I really don't want to go there.
Thanks!
> > I'm handling WindowEvents in my code to try and capture when a solution
> > Property Page dialog is closing. It doesn't work. I'm getting events when
[quoted text clipped - 7 lines]
> > that
> > happen.