How to disable the mouse input in CView?
Posted on 2003-04-01
I use BeginWaitCursor() and EndWaitCursor() to set the cursor as an hourglass when I am opening many files in my application. Now I want to disable the mouse input of all the views when I am opening files. How can I do that? Can I get the information of the cursor to decide whether the mouse input is valid, that is, if the cursor is an hourglass, the view cannot be updated and cannot receive any mouse message? Or is there a better way to do it? Thank you!!! :1