RE: [GD-Windows] SetCursor question
Brought to you by:
vexxed72
From: Lewin, G. <gl...@ea...> - 2004-08-07 01:07:58
|
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=20 _________________________________________ 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:ho...@bo...]=20 Sent: Friday, August 06, 2004 5:14 PM To: gam...@li... 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 Gam...@li... https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows Archives: http://sourceforge.net/mailarchive/forum.php?forum_idU5 |