Tech Support > Microsoft Windows > Development Resources > How to find cursor size limits?
How to find cursor size limits?
Posted by Adrian Barnett on September 27th, 2004


In Windows XP, I want to find the system limits for cursor sizes.

I've tried calling
GetSystemMetrics(SM_CXCURSOR)
which returns 32, but I am still able to create a cursor of 64x64 pixels.

Does the maximum cursor size depend on Windows or on your graphics
hardware (I have a Geforce FX5800)?

Is GetSystemMetrics faulty, or do I need to call something else to query
the size limit?

Cheers,
Adrian


Similar Posts