RE: [email] SetCursor question

"Lewin, Gareth" <[email protected]>
Newsgroups gmane.games.devel.windows
Message-ID <[email protected]>
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=/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:[email protected]] 
Sent: Friday, August 06, 2004 5:49 PM
To: [email protected]
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 
> 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
[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.