Board index » Visual Studio » Disable Mouse clicks
|
cds_tf_1
|
|
cds_tf_1
|
Disable Mouse clicks
Visual Studio161
In some lengthy operations, I want to change the cursor to a WaitCursor. I'm using Martyn's CPersistentCursor to hold this WaitCursor. www.codeproject.com/dialog/persistentwaitcursor.asp But for my surprise, a WaitCursor don't block the mouse clicks. How could I achieve this? - |
| AliR
Registered User |
Fri Apr 22 09:34:29 CDT 2005
Re:Disable Mouse clicks
Same as yesterday! What's wrong with BeginWaitCursor(); and EndWaitCursor()?
AliR. "Renegade" <renegade@hotmail.com>wrote in message QuoteIn some lengthy operations, I want to change the cursor to a WaitCursor. - |
| Renegade
Registered User |
Fri Apr 22 11:36:13 CDT 2005
Re:Disable Mouse clicks
sorry about that.
My outlook was a little bit insane. "AliR" <AliR@newsgroup.nospam>wrote in message QuoteSame as yesterday! What's wrong with BeginWaitCursor(); and - |
| thatsalok
Registered User |
Sun Apr 24 23:49:44 CDT 2005
Re:Disable Mouse clicks
you can even set WaitCursor urself using SetCursor with IDC_WAIT as
argument! and after finishing your work set it back to normal! -- ----- cheers, Alok Gupta Visit me at alok.bizhat.com">alok.bizhat.com "Renegade" <renegade@hotmail.com>wrote in message Quotesorry about that. - |
