A few days ago, I posted a simple “delayed action”
unit that allows you to post a simple action to the Windows Message Queue, to be executed on the main thread after all currently pending messages.* It worked by storing your proc in its own threadsafe queue, then posting a message which, ...
More...