M
Matt Gilarde
Guest
Stefan Marquardt please notice that the application not only looks like that it's not responding, it really(!) never finish without using DisableProcessWindowsGhosting or more times PROCESS EVENTS. PeekMessage(PM_NOREMOVE) is like a very lightweight version of PROCESS EVENTS. It checks whether there's anything in the message queue but doesn't have all of the overhead of PROCESS EVENTS and doesn't dispatch any messages like PROCESS EVENTS does. You can use PeekMessage in place of PROCESS EVENTS if all you need to do is keep the application responsive.
Continue reading...
Continue reading...