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