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

Rémi Denis-Courmont rem at videolan.org
Thu Jan 15 16:28:32 CET 2009


Le jeudi 15 janvier 2009 10:23:18 Hannes Domani, vous avez écrit :
> Awaiting your response(s),

If CreateWindow() fails, Close() will perform an invalid PostMessage(). I 
don't know Win32 API well enough, and this might not be an issue. But I don't 
understand why you're creating a window handle in the first place instead of 
using the thread message queue.

Also, there's no need to add parenthesis after 'return'.


Finally, it might be simpler to register the action rather than the variable 
name in the atom?

-- 
Rémi Denis-Courmont
http://git.remlab.net/cgi-bin/gitweb.cgi?p=vlc-courmisch.git;a=summary



More information about the vlc-devel mailing list