RE: SetCursor question

"Lewin, Gareth" <[email protected]>
Newsgroups gmane.games.devel.windows
Message-ID <[email protected]>
You have to handle WM_SETCURSOR or else the cursor will get reset to the
default of the window (depending on the hittest it will change)

If you just want to replace the arrow with the cursor, then change the
cursor in your window class 


_________________________________________
Gareth Lewin - http://www.garethlewin.com

"Facts are useless. You can use facts to prove anything that's even
remotely true. Facts shmacts!" -- Homer Jay Simpson.
-----Original Message-----
From: Brian Hook [mailto:[email protected]] 
Sent: Friday, August 06, 2004 5:14 PM
To: [email protected]
Subject: [GD-Windows] SetCursor question

I'm currently calling SetCursor( LoadCursor( NULL, IDC_HAND ) ) one time
during application startup.  It switches to a hand, but immediately goes
back to an arrow when I move the mouse.

That's the only place I call it -- is there some message I'm not
handling to make sure that the cursor stays that way until I change it?

Brian




-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Gamedevlists-windows mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_idU5



-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Gamedevlists-windows mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_idU5
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.