PDA

View Full Version : change mouse pointer look to our own graphic.



loong98
03-18-2001, 11:56 AM
Is they anyone could help me on this.
change mouse pointer look to our own graphic.
thanks

Wulf
03-18-2001, 01:05 PM
Use SetCursor to change it.
The cursor passed to it must have been created by CreateCursor or LoadCursor.
The return is the previous cursor.

You can change the default cursor by changing the hCursor member of the WNDCLASS struct before registering it.

I'm not sure if it works with animated cursors.

loong98
03-19-2001, 02:37 AM
hi.......can u please give the example with a coding.

Wulf
03-19-2001, 07:25 AM
http://www.geocities.com/routerx/cursorsample.zip

loong98
03-19-2001, 10:33 AM
hi wulf........your web pages is no longer exits.

Gorg
03-19-2001, 12:50 PM
for geocities files, if you want to download it, right click on the link and select save as(netscape) or save target as(IE).

Of course it doesn't find the page : it is not one!