Internet Direct (Indy)
Home
PreviousUpNext
TIdNotify.MainThreadUsesNotify Property

Indicates that the main application thread performs notification messages.

Pascal
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.

InMainThread 

GNotifyThread 

TIdNotify.Notify

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.