Jump to content
Sign in to follow this  
VAN0

[SOLVED] Activate cursor theme?

Recommended Posts

VAN0

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

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.