Forcing mouse pointer to update?

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by PB.

I've used this code to change the mouse pointer to an hourglass:

SetClassLong_(WindowID(),#GCL_HCURSOR,LoadCursor_(0,#IDC_WAIT))

But on my old 486 laptop it doesn't "update" the pointer when using this
before going into a long loop. I've tried sticking a WindowEvent() between
it and the loop, but it didn't help. Any ideas on how to force it to update?


PB - Registered PureBasic Coder
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Franco.

Which OS are you using


Have a nice day...
Franco

Sometimes you have to go a lonely way to accomplish genius things.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by PB.

> Which OS are you using

Sorry: Windows.


PB - Registered PureBasic Coder
Post Reply