iesniffer Refresh method
Return to Introduction  Previous page  Next page
Applies to
IESniffer component.  

Declaration
procedure Refresh;  

Description
The Refresh method refreshes the internal list of active Internet Explorer windows.  
 
You can use Refresh method to detect new instances of Internet Explorer if you don't want to detect it automatically on timer-based schedule (if Active property is False).  
 
tip Also, to refresh the list of active IE windows, you can simply read the URLs property, it will call Refresh method automatically.  
 
iiinfo Alternatively, if you don't need to operate with ALL instances of Explorer, you can use AddBrowser method to add some certain intance of IE to the list and hook all its events.  

See also
Active, MonitorInterval and URLs properties;  
AddBrowser method;  
OnWindowLoad and OnWindowUnload events.