RE: [email] [GD-Windows] SetCursor question
Brought to you by:
vexxed72
From: Lewin, G. <gl...@ea...> - 2004-08-07 01:16:22
|
Ok, then my previous email is what you want... To elborate, whenever the hittest of the current mouse position changes(or under other conditions), the system sends out a WM_SETCURSOR to the window asking it what cursor to set. You want ot handle http://msdn.microsoft.com/library/default.asp?url=3D/library/en-us/winui/= W inUI/WindowsUserInterface/Resources/Cursors/CursorReference/CursorMessag es/WM_SETCURSOR.asp and check for HTCLIENT, if that is the cursor, call SetCursor with your hand cursor, and return TRUE _________________________________________ 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:49 PM To: gam...@li... Subject: Re: [email] [GD-Windows] SetCursor question On Fri, 6 Aug 2004 17:29:43 -0700, Dan Thompson wrote: > Did you try setting the hCursor in your window class? That's where I=20 > always do my cursor stuff.. I'm trying to do this dynamically, i.e. changing the cursor to reflect my current state (a la Photoshop) for a tool. 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 |