Am 14.01.2012 18:56, schrieb Georges Q:
> I suppose you are talking about Multithreading?
>
> With Multithreading it works great, this is the right way to do it?
While handling a window message, your UI hangs, because the UI requires
other window messages for operation. For that reason, you should never
block for long during the handling of a single message.
Running longer operations in a thread is one thing, you could also use
e.g. a timer or handle the case that the message loop is idle in order
to advance the lengthy operation. There is no "right way", you need to
pick the way that best suits your requirements.
Uli