[vlc-devel] [PATCH] Global Hotkeys for windows

Hannes Domani ssbssa at yahoo.de
Fri Jan 16 08:18:37 CET 2009

--- Rémi Denis-Courmont <rem at videolan.org> wrote on Do, 15.1.2009:
> Le jeudi 15 janvier 2009 17:58:03 Hannes Domani, vous avez écrit :
> > > But I don't understand why you're creating a window handle in the
> > > first place instead of
> > > using the thread message queue.
> >
> > RegisterHotKey() needs a window handle which it sends the WM_HOTKEY
> > messages.
> If I understand the documentation, the window handle can be NULL.

You are right, that's possible. But in this case I don't know how to tell the thread to stop in Close (like I do now with the WM_CLOSE message).

Domani Hannes


More information about the vlc-devel mailing list