RamonUnch/AltSnap

Keybinds do not work when running as administrator on a standard account

LoganDark opened this issue · 5 comments

If my user is a standard account, and I use a User Account Control elevation prompt to run AltSnap as an administrator account, keybinds do not work.

The mouse hook (alt+ drag) works perfectly, but the keybind I have set to open the action menu does not work.

The tray icon still shows up, the configuration interface works fine, but the keybind does not work.

If I make my account an administrator and elevate AltSnap on my own account, the keybinds start working again. But they do not work if I run it using a different administrator account.

AltSnap should probably prepare for being operable by a standard user as that is the direction that Windows 11 seems to be officially heading.

I guess I must let some messages through with the ChangeWindowMessageFilter(Ex)functions. I will come back with some fixes.
I personally uses AltSnap non elevated, the only program for me that would benefit from elevating AltSnap is the task manager.

AltSnap1.61test4.zip

Try this version of AltSnap.
This is pure guesswork, it is untested on Windows 11.

@LoganDark
Does the above build fixes the issue for you?

@LoganDark Does the above build fixes the issue for you?

I intend to test it as soon as I have time

AltSnap1.61test4.zip

Try this version of AltSnap. This is pure guesswork, it is untested on Windows 11.

That fixed the issue, thank you!!