TraySetIcon does not set icon.
Issue #53
closed
TraySetIcon docs page is here.
Code shows icon in AHK v2.0-beta.7, but not in Keysharp. No errors thrown.
TraySetIcon(A_ScriptDir "\monkey.ico")
MyGui := Gui(, "Icon sanity")
MyGui.Opt("+AlwaysOnTop")
MyEdit := MyGui.Add("Edit", "w200 h50", "I'm just taking up space.")
MyGui.Show()
Comments (5)
-
repo owner -
repo owner Verified this works fine on Windows 10 Pro.
-
reporter I tried this any number of times yesterday, but it works fine today after rebooting.
Apologies!
Please close.
-
repo owner - changed status to resolved
-
repo owner - changed status to closed
- Log in to comment
This works fine on my end. The icon in the tray is the monkey instead of the standard Keysharp icon.
I am wondering if this is another Windows 10 Pro problem?
I have a Windows 10 Pro machine I can test on.