Not. This requires the user interface thread to do the pumping. If this is not the case, Invoke () will not be completed. A classic source of deadlock by the way. Diagnose with Debug + Windows + Threads, check the call stack of the main thread.
Hans passant
source share