PostMessaage and UI hangs
I've created an MFC application with one worker thread. The worker thread frequently post message to UI thread to update its control. During this period, UI does not receive input message such as mouse or keyboard messages. The UI receive input message when worker thread is stopped.<br>
I've read in <b>MSDN</b> that <b>PostMessage</b> has higher priority than input message. My requirement is that I want my window to process input message while its controls are being updated.<br>
If I reduce the frequency of PostMessaage, the problem is solved, but that's not my requirement.<br>
I've tried another non-queued message <b>SendNotifyMessage() </b>from worker thread, but that also does not work.
|All times are GMT +5.5. The time now is 17:52.|