winapi - The biggest size of Windows Cursor -


i have cursor size size 128x128, when used loadcursor load , show it, has 32x32. api can make correctly? seems ms resize it. thanks.

windows xp not include system cursors larger 32x32. (if larger cursors included, stretched down 32x32 when standard apis load cursors.)

for high-dpi systems, windows xp has adjusted sm_cxcursor , sm_cycursor values 64x64 pixels. size adjustment prevent mouse pointer virtually disappearing because small used. although other aspects of system scale dpi, mouse pointer not scale. microsoft not try enforce dpi-independent size mouse pointer.

the system provides setsystemcursor api function can use change system cursor specific categories. can use function set cursor of size. however, must call function programmatically, , can use set cursor specific category. cannot use make cursors on system same size.

http://support.microsoft.com/kb/307213


Comments

Popular posts from this blog

unicode - Are email addresses allowed to contain non-alphanumeric characters? -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

c++ - Convert big endian to little endian when reading from a binary file -