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