LoadCursorFromFile and/or SetSystemCursor .ani problem in Win10, worked in Win7

Get help with using AutoHotkey and its commands and hotkeys
gwarble
Posts: 461
Joined: 30 Sep 2013, 15:01

LoadCursorFromFile and/or SetSystemCursor .ani problem in Win10, worked in Win7

27 Sep 2019, 12:43

got such great help with the last similar question (new problem with win10), might as well try again

Been using this code successfully for years in Windows 7... but in windows 10 it only shows a static frame of the animated cursor:

Code: Select all

CursorFile := "cursor.ani"
CursorHandle := DllCall("LoadCursorFromFile", Str, CursorFile)
DllCall("SetSystemCursor", Uint, CursorHandle, Int, 32512)
any ideas?
EitherMouse - Multiple mice, individual settings . . . . www.EitherMouse.com . . . . forum . . . .
gwarble
Posts: 461
Joined: 30 Sep 2013, 15:01

Re: LoadCursorFromFile and/or SetSystemCursor .ani problem in Win10, worked in Win7

30 Sep 2019, 13:48

thanks for the link, but it just confirms the broken functionality

seems weird this ability would change and not be documented, i hate microsoft
EitherMouse - Multiple mice, individual settings . . . . www.EitherMouse.com . . . . forum . . . .

Return to “Ask For Help”

Who is online

Users browsing this forum: boiler, Saarthak Kamra, Smoothglobal, TXShooter, zKade and 43 guests