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

Mouse Pointer Style #76

Open
stephengillie opened this issue Oct 24, 2024 · 1 comment
Open

Mouse Pointer Style #76

stephengillie opened this issue Oct 24, 2024 · 1 comment

Comments

@stephengillie
Copy link
Collaborator

stephengillie commented Oct 24, 2024

Description of the new feature / enhancement

Looking into this because I actually use this setting. These are under HKEY_CURRENT_USER\Control Panel\Cursors.

  • Mouse style has 4 settings:
    • Default (Aero) Image
    • Windows Black Image
    • Windows Inverted Image
    • Color (Aero again) Image
  • The first 3 have the same Registry settings for cursor files under %SystemRoot%, and only seem to change the (Default) key.
  • The 4th uses a different set of cursor files under \AppData, and seems to use the same cursor files, regardless of color.
    • I’m guessing that the Settings app dynamically generates the cursor files into the \AppData\ location, before updating the Registry to point there.
    • Possibly starting with the files used by the Default Aero pointer, and then updating the color value of the pale pixels.
  • CUR files seem to be multilayer animated files, similar to PNG or GIF.
    • I’m not sure of the format differences, and Internet search is heavily SEOed towards online services (which obviously aren’t an option here.)

Proposed technical implementation details

No response

@stephengillie stephengillie changed the title DSC Resource for Mouse Style Mouse Pointer Style Oct 24, 2024
@stephengillie
Copy link
Collaborator Author

stephengillie commented Oct 25, 2024

DSCResource name: MousePointer
(Foreach property)
Property name: MousePointerStyle
TypeOrEnum: Enum
EnumItems:

  • Aero
  • Black
  • Inverted
  • Color

Registry path: HKEY_CURRENT_USER\Control Panel\Cursors
Registry key name: (Default)
Registry key type: Reg_SZ
Registry key values:

  • Windows Aero (other keys point to %SystemRoot%)
  • Windows Black (other keys point to %SystemRoot%)
  • Windows Inverted (other keys point to %SystemRoot%)
  • Windows Aero (other keys point to %AppData%)

Get method name: GetMousePointerStyle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant