iesniffer Active property
Return to Introduction  Previous page  Next page
Applies to
acIESniffer, acAwayTimer, acCursorLocker, acFormBackground, acFormHelp, acFormMagnet and acFormSystemMenu components.  

property Active: Boolean; // True by default  

The Active property controls whether the acIESniffer is active to detect when the new instances of Internet or Windows Explorer appears and disappears (when user opens and closes the Internet or Windows Explorer windows).  
Set Active property to True to enable the timer and check the shell for instances of Windows or Internet Explorer, and to trigger OnWindowLoad event when new window appears and OnWindowUnload event when user closes the Explorer window.  
iiinfo The detection are performed with intervals specified in MonitorInterval property.  
tip If you don't want to detect new instances of Internet Explorer on timer-based schedule, you can just periodically call Refresh method and set Active to False.  
The Refresh method detects each instance of Internet Explorer and adds it to the internal list. 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
MonitorInterval property;  
Refresh method.