DocumentHost.BeforeClose

This event is called before the window is closed.

Syntax Parameters Return value
Event DocumentHost.BeforeClose( _
    ByRef cancel As Boolean)
cancel [in, out]

Type: Boolean

-