Sign in to follow this  

how to show hand cursor

This topic is 4864 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I couldn't load the hand shape for my cursor. I use: SetCursor(LoadCursor(NULL, IDC_HAND)); but win98 and winXP seem don't recognize that value. Please, how could I show the hand cursor on my application? Thanks in advance.

Share this post


Link to post
Share on other sites
It works (together with some other WinNT/2000 functionalities) if you define WINVER 0x0500.

You're not supposed to do this but why not if it works and doesn't have any bad consequences.

BTW, i think WinXP is a NT-based OS, if so it really shouldn't matter defining WINVER 0x0500 (as long as you don't mind WinXP only).

Share this post


Link to post
Share on other sites
WINVER 0x0500 means win 98 and higher and NT 5 and higher. The win 95 series ends with 98 and NT ends with XP, so the compatibility should be win98, NT 5, 2k, XP

And yes - IDC_HAND worked on my 98, when I was using it [smile]

Oxyd

Share this post


Link to post
Share on other sites

This topic is 4864 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this