Catching WindowActivate From .NET

A

Adam Behrle

Just so it's posted in case others run into this problem...

The WindowActivate method covers the WindowActivate event on the
Application object. So you need to cast to the Application event
Interface like so:

((_EProjectApp2_Event)m_ProjectApplication).WindowActivate += new
_EProjectApp2_WindowActivateEventHandler(ProjectApplication_WindowActivate);

Adam
 
Top