Hello,
I read some documentation on CWaitCursor and can't find my solution. Nor in the archives of this forum.
I want to display an hourglass while some treatment is done.
But the call of the treatment and its end are not in the same function.

At start I send a message to another module, and want to start my CWaitcursor there.
The application goes on, may do some other treatment.
When I receive the answer, in the function where I treat the message I want to end the CWaitCursor.

Should I create a separate thread whise work will only be to display an hourglass and kill it at the end of the treatment? Or is there a better way of doing it??

Thanks for any hint

Marina