- Re: WH_CHAR multiple entries
- Posted by Sten Westerback on July 16th, 2003
"Basim Kakakhail" <basimkakakhail@yahoo.com> wrote in message
news:dbd656b6.0307160507.5fc3e8a9@posting.google.c om...
I assume you mean that your callback gets called... 
Sure...it's Adown + Aup .. or Adown, Arepeat, Arepeat...., Aup.
Just cope with it in some reasonable way depending on what the
intension of your hook is (catch some passwords from another app ?
.
- Sten
- Posted by John Carson on July 17th, 2003
"Basim Kakakhail" <basimkakakhail@yahoo.com> wrote in message
news:dbd656b6.0307162307.19a324ba@posting.google.c om
Not really. If you aren't interested in the other message, then why don't
you just ignore it? Or is the control sent a WM_COMMAND message with a
HIWORD(wParam) of BN_CLICKED?
And if you only want user input, then why use the WH_CALLWNDPROC hook at
all? You can get all of the mouse clicks from the WH_GETMESSAGE hook (or you
can use a Journal Record hook).
--
John Carson
1. To reply to email address, remove donald
2. Don't reply to email address (post here instead)
- Posted by Basim Kakakhail on July 18th, 2003
Thanx very much indeed for ur time, now there is another problem and
that is that in my GetMessage HOOK i have sucessfuly handled the
printable and non printable characters using WM_CHAR and for non
printable characters the WM_KEYDOWN from where the virtual key code is
available
now the shape of my buffer is like this
123+Ctrl+SHIFT+abcd
now my aim is to capture the combinations like Ctrl+A or Ctrl+N
kind u guide me in this task
thanx for ur time in advance
regards
Basim