At 13:56 23/09/2002 +0200, you wrote:

>I have looked a bit on daves quick search bar, and it is really cool.
>But I was wondering how the global shortcut for the bar was implemented.
>The shortcut key I'm talking about is the Windowskey-s, that sets focus on 
>the bar.
>
>How is this implemented.

Well, you can always look at the source code ;-)

But to save you some time, there's a call to the Windows API call 
RegisterHotKey which sets it up.  This tells Windows to send a message to a 
hidden DQSD window whenever the hot-key is pressed.

The code is all in KeyboardHook.cpp in the source.

Will



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
DQSD-Devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dqsd-devel

Reply via email to