On Sat, 6 Nov 2021 20:20:59 +0100, R.Wieser wrote:
JJ,
But the given hotkey never work and has no effect even though the
SEE_MASK_HOTKEY flag is already specified. I've already tried it by
running executing NOTEPAD.EXE with VK_F12 hotkey and with/without the
HOTKEYF_CONTROL flag.
mov [ebx].SEI_dwHotKey,VK_F8
or [ebx].SEI_fMask,SEE_MASK_HOTKEY
I've just added the above to a bit of code using ShellExecuteEx to open notepad under XPsp3. After I hid or iconified notepad pressing F8 brought
it back up (at the front and focussed).
IOW, I've got no idea why yours doesn't work.
Regards,
Rudy Wieser
*&^%$#@!!! Stupid Microsoft!
Apparently, they broke it since NT6 (Vista) and up to the latest Windows 10 build. Tested on clean OS installations in VM. I'm using Win7, so it's the reason it doesn't work.
It still works fine in Windows 2003 (i.e. NT5.2), Windows XP, and likely
older versions too.
I'm pretty sure it's still broken in the upcoming Windows 11 release build.
I do have the beta builds in VM, but don't bother to test them.
Thanks for the input, BTW.
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)