IdleEvents Property

Applies to:  Thread object
See also:  IdleEvents object

read-only

Returns an IdleEvents object for the thread.

Syntax:

object.IdleEvents

The IdleEvents syntax has these parts:

Part Description
object The name of a Thread object.

Remarks:

If the Thread object is the return value of GetAllThreads, then the object returned by the IdleEvents property will receive events relating to all threads on the system (equivalent to setting a global hook).

If the Thread object is the Thread property of a Window object, or the return value of ThisThread or WrapThread, then the object returned by the IdleEvents property will receive events relating only to a single thread.

 

Home Copyright and Disclaimer