Name
MainThreadID Variable
Syntax
var MainThreadID: LongWord;
Description
The MainThreadID
variable stores the Windows
thread ID for the application’s main thread. Use
MainThreadID
if you need to send a message to the
main thread, for example.
See Also
BeginThread Function, IsMultiThread Variable |