Jump to content

Recommended Posts

Posted (edited)

Hello.

The currently active cursor theme is stored in HKEY_CURRENT_USERControl PanelCursors registry key.

When manually changed in registry, it does not change the cursors until opened Control Panel -> Mouse -> Pointers and re-selected needed theme (it shows like it's already your custom theme in affect, and you have to change to different theme and than back to yours before it enables apply button)

So, is there a dll call that would trigger cursor theme change?

Thank you.

[EDIT]

Typical...spent 30 minutes looking for an answer, nothing found, posted a question and 5 minutes later found the answer...

So just in case someone needed, the answer is:

DllCall("user32.dll", "int", "SystemParametersInfo", "int", 0x0057, "int", 0, "int", 0, "int", 0)
Edited by VAN0

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...