Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cursors of any size on win32 #998

Closed
totaam opened this issue Oct 10, 2015 · 6 comments
Closed

cursors of any size on win32 #998

totaam opened this issue Oct 10, 2015 · 6 comments

Comments

@totaam
Copy link
Collaborator

totaam commented Oct 10, 2015

Issue migrated from trac ticket # 998

component: platforms | priority: minor | resolution: wontfix | keywords: win32

2015-10-10 07:04:56: antoine created the issue


Split from #976, related to #734.

See #976#comment:12.

Links claiming we can only have fixed size (32x32 or 64x64 on high dpi displays):

  • SM_CXCURSOR: The width of a cursor, in pixels. The system cannot create cursors of other sizes.
  • SM_CYCURSOR: The height of a cursor, in pixels. The system cannot create cursors of other sizes.

That said, I also found: (dead link: https://support.microsoft.com/en-us/kb/307213 was Windows XP icon and cursor support) which states: The system also provides the SetSystemCursor API function that you can use to change the system cursor for specific categories. You can use this function to set a cursor of any size. However, you must call the function programmatically, and you can only use it to set a cursor for a specific category. You cannot use it to make all cursors on the system the same size.

@totaam
Copy link
Collaborator Author

totaam commented Jan 23, 2017

2017-01-23 09:55:00: antoine edited the issue description

@totaam
Copy link
Collaborator Author

totaam commented May 7, 2018

2018-05-07 06:40:45: antoine changed status from new to assigned

@totaam
Copy link
Collaborator Author

totaam commented Aug 21, 2018

2018-08-21 15:42:54: antoine changed status from assigned to closed

@totaam
Copy link
Collaborator Author

totaam commented Aug 21, 2018

2018-08-21 15:42:54: antoine set resolution to wontfix

@totaam
Copy link
Collaborator Author

totaam commented Aug 21, 2018

2018-08-21 15:42:54: antoine edited the issue description

@totaam
Copy link
Collaborator Author

totaam commented Aug 21, 2018

2018-08-21 15:42:54: antoine commented


SetSystemCursor changes are system-wide apparently, and those don't even work in windows 10.

@totaam totaam closed this as completed Aug 21, 2018
@totaam totaam added the v0.15.x label Jan 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant