c++ set cursor size over 32
Asked Answered
H

1

3

im trying to set a cursor. the width and the height of the cursor is bigger than 32 px. but it just scale it down to 32px when i set it.
any idea?

Horoscopy answered 24/8, 2010 at 20:22 Comment(1)
How are you setting the cursor? Have you looked up the restrictions for a cursor on whatever method you're using?Wobble
B
4

If you're using the LoadCursor function, then I think you'll always get scaled to the standard size.

Try using LoadImage with IMAGE_CURSOR, a desired size of (0,0), and do not use the LR_DEFAULTSIZE flag.

Breakaway answered 24/8, 2010 at 21:58 Comment(1)
Hi Adrian, whilst you answer seemed to work for Ramilol, it does not appear to work for me. Would you be able to check this question for if I am doing anything wrong? Thanks :)Duluth

© 2022 - 2024 — McMap. All rights reserved.