CWaitCursor changes back to normal cursor on mouse move event
-
CWaitCursor changes back to normal cursor on mouse move event, before the end of the function CWaitCursor wait;
-
CWaitCursor changes back to normal cursor on mouse move event, before the end of the function CWaitCursor wait;
I think you are still stuck with the same problem . Why are you using CWaitCursor function? wasn't SetCursor() a better solution?
-
CWaitCursor changes back to normal cursor on mouse move event, before the end of the function CWaitCursor wait;
ptr_Electron wrote:
CWaitCursor changes back to normal cursor on mouse move event, before the end of the function
There is an option in to restore the cursor back, use CWaitCursor::Restore. Also check from where the cursor is being reset to normal cursor.
Nibu babu thomas Microsoft MVP for VC++ Code must be written to be read, not by the compiler, but by another human being. Programming Blog: http://nibuthomas.wordpress.com
-
I think you are still stuck with the same problem . Why are you using CWaitCursor function? wasn't SetCursor() a better solution?
No it is good once but,SetCursor() was a working for all the dialogs except for one dialog box. When I user CWaitCursor using this works for all the dialogs (for the one dialog which I mentioned above I used
wait.Restore();
inbetween the code). It worked. But now the new problem was that when on mouse move event , the hour glass symbol is replaced by normal mouse cursor. Is there some thing similar to wait.Restore(); wich I can use with SetCursor
-
CWaitCursor changes back to normal cursor on mouse move event, before the end of the function CWaitCursor wait;
See here.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons