iesniffer OnWindowUnload event
Return to Introduction  Previous page  Next page
Applies to
IESniffer component.  

  TIESnifferUnloadEvent = procedure(Sender: TObject; const URL: Stringof object;  
property OnWindowUnload: TIESnifferUnloadEvent;  

The OnWindowUnload event notifies that the Explorer window was closed (disappears from screen), process has been terminated and all its handles was destroyed, so you can not use its IWebBrowser2 interface anymore.  
However, you should stop using that browser instance once it only was about to be destroyed, after receiving OnWBQuit event.  

See also
OnWindowLoad and OnWBQuit events.