From: Brian H. <ho...@bo...> - 2004-08-07 00:13:37
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
Did you try setting the hCursor in your window class? That's where I always
do my cursor stuff..
-dan
----- Original Message -----
From: "Brian Hook" <ho...@bo...>
To: <gam...@li...>
Sent: Friday, August 06, 2004 5:13 PM
Subject: [email] [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
From: Brian H. <ho...@bo...> - 2004-08-07 00:49:29
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