Re: About universal keyboard control (hook ?)
- From: "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT com>
- Date: Wed, 12 Dec 2007 08:20:37 -0700
If the system is locking up *because of the hook* (you didn't say that you'd
determined that with 100% certainty), then you're doing something wrong in
your hook code. I'd be more inclined to use RegisterHotKey() and a
background application to be notified of just the keys that affect the
volume, rather than having to see and process every single keyboard message
forever. That will certainly slow down the system.
Paul T.
"Calvin" <keep_fly@xxxxxxxxxxx> wrote in message
news:uJTWxrIPIHA.4272@xxxxxxxxxxxxxxxxxxxxxxx
Hello every body,
I want to use keyboard to control the volume when WinCE system started ,
no matter what program will run after , of course my app will run first
, Did HOOK app(dll) is the best choice ? Do I have another chocice ?
In most of time ,My hook is no problem at all , but sometimes system will
halt when use hook I found (espacilly when the app (map program )run for a
long time later ) . I don't know if the hook will bring some confilct with
current run program ?
By the way , my hook dll will pop up a dialog to show volume degree when
keyboard is press. thank you very much for you help or comment !
Best regrads,
Calvin Liu
.
- References:
- About universal keyboard control (hook ?)
- From: Calvin
- About universal keyboard control (hook ?)
- Prev by Date: About universal keyboard control (hook ?)
- Next by Date: Windows Media mobile player apis
- Previous by thread: About universal keyboard control (hook ?)
- Next by thread: Windows Media mobile player apis
- Index(es):
Relevant Pages
|
Loading