WindowDeactivate Event
Occurs when any window within Project is deactivated. The WindowDeactivate event does not occur when the application window is deactivated.
Syntax
Private Sub object_WindowDeactivate(ByVal deactivatedWindow As MSProject.Window)
object An object of type Application declared with events in a class module. For more information, see Using events with the Application object.
deactivatedWindow The deactivated window.
Remarks
Project events do not occur when the project is embedded in another document or application.
Applies to | Application Object
See Also | WindowActivate Method