CbtEvents Property | ||||||
Applies to: Thread object See also: CbtEvents object read-only Returns a CbtEvents object for the thread. Syntax: object.CbtEvents The CbtEvents syntax has these parts:
Remarks: If the Thread object is the return value of GetAllThreads, then the object returned by the CbtEvents 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 CbtEvents property will receive events relating only to a single thread. Example:
|