SteveG schreef:
Would anybody know if it is possible to tell if a function has been called from the Main (GUI) thread, or a 'child' thread ?
(determined within the function being called)


Yes, that is possible. Compare GetCurrentThreadID with MainThreadID.

Vincent

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to