Hello All,
Is PeekMessage(msg, hwnd, 0, 0, %PM_NOREMOVE) the best way to yield execution so that the operating system can process other events?
I have a very large text file to process which may take about a minute to complete the task and I want the user to be able to press a cancel button and my app to handle the message.
Any ideas?
Pat
PS: I use SDK programming style - button created using CreateWindow().
Is PeekMessage(msg, hwnd, 0, 0, %PM_NOREMOVE) the best way to yield execution so that the operating system can process other events?
I have a very large text file to process which may take about a minute to complete the task and I want the user to be able to press a cancel button and my app to handle the message.
Any ideas?
Pat
PS: I use SDK programming style - button created using CreateWindow().
Comment