Indicates that the main application thread performs notification messages.
property MainThreadUsesNotify: Boolean;
MainThreadUsesNotify is a Boolean property that indicates if the main application thread can perform the notification message, or if TIdNotify is allowed to perform the operation.
MainThreadUsesNotify is used in Notify to determine if the main application thread can perform the method that implements the notification message, or if the global notification thread in GNotifyThread is used to perform the operation.
When the Main thread is active and MainThreadUsesNotify is False, the thread of execution for the application is used, and the notification message is freed.
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.