Hi,
I have never worked with threads before so I am wondering how to go about it. I have a windows application that runs just fine. It is just that when the user trigger a command that takes several minutes to complete, the window get the hour glass and the "white bar" if anything is covering the window and moved away during this computation time. If the window stays clear, the status field updates find thru out the process.
So, in my main program I have a WM_COMMAND case like this
case: HEAVY_DUTY
ComputeNow(hwnd);
break;
I wonder if I can just give a CreateThread() command prior to sending it to this computation. Or is there more to this? Any example that illustrates how to go about this would be great!
Thanks for your help!