Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Reset custom system cursor to normal

i change the system cursor with SetSystemCursor but when i try to reset the system cursor to nornal with DestroyCursor nothing happens !!

Any ideas ?

Thanks !

like image 953
alexandertr Avatar asked Jun 03 '12 15:06

alexandertr


1 Answers

Alternatively, you can restore system cursors to defaults like this:

SystemParametersInfo(SPI_SETCURSORS, 0, NULL, 0);

where SPI_SETCURSORS is defined as 0x0057, as described here

like image 61
Tom Avatar answered Nov 03 '22 06:11

Tom