Board index » cppbuilder » Re: How to hook the keyboard?

Re: How to hook the keyboard?


2003-11-21 06:46:01 PM
cppbuilder85
Hi Yu-Chen,
I would appreciate if you could send this demo also to me.
TIA
Saulo
 
 

Re:Re: How to hook the keyboard?

Thank you Yu-Chen, I received your e-mail!
Saulo
 

Re:Re: How to hook the keyboard?

On Thu, 20 Nov 2003 10:14:48 -0800, "Remy Lebeau \(TeamB\)"
< XXXX@XXXXX.COM >wrote in
borland.public.cppbuilder.non-technical:
Quote
>if (pkbhs->vkCode == VK_LWIN || VK_RWIN)
>caused me some trouble.

That is not a valid statement. Well, it is, but it does not do what you
think it does. You have to test each condition individually instead:

if( (pkbhs->vkCode == VK_LWIN) || (pkbhs->vkCode == VK_RWIN) )
That's right. I didn't see the error immediately. In Cobol it would be
allowed.
--
Feico
 

{smallsort}

Re:Re: How to hook the keyboard?

Saulo,
No problem. Hope it helps.
-- YH --