Refresh method
|
IESniffer component.
|
procedure Refresh;
|
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).
|
|
Also, to refresh the list of active IE windows, you can simply read the URLs property, it will call Refresh method automatically.
|
|
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.
|
Active, MonitorInterval and URLs properties;
|
AddBrowser method;
|
OnWindowLoad and OnWindowUnload events.
|