TKd handling of custom events
univacc via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Nov 20 06:54:00 PST 2014
On Wednesday, 19 November 2014 at 23:44:00 UTC, univacc wrote:
> Hello,
>
> I am using TKd to dray my linux/windows app which works very
> good!
>
> I would like to add a global Hotkey to my program via the Win32
> API function RegisterGlobalHotkey.
> Is there a possibility to access Tk's event loop so that you
> can Handle the WM_HOTKEY message, the WinAPI sends you?
>
> Regards,
> univacc
Nevermind.
If someone has the same issue: Just create another Win32 API
Window, that is hidden and let that one receive your hotkey
message!
Regards
More information about the Digitalmars-d-learn
mailing list