Occurs when the active web window loses focus and is deactivated.
Private Sub expression_OnDeactivate( )
expression A variable name which references an object of type WebWindowEx declared with events in a class module.
The following example displays a message to the user when the window is deactivated.
Private Sub objWebWindow_OnDeactivate()
'Occurs when the current web window is deactivated
MsgBox "The window has been deactivated."
End Sub