Click to See Complete Forum and Search --> : How to ignore a message when I trap it in a hook procedure ?


winyu
03-06-2001, 02:48 AM
I trap a message in a hook procedure (say it WM_CONTEXTMENU)
How can I kill this message so it is not passed to Windows.

Mcleverish
03-07-2001, 10:39 AM
Well I've using a Keyboard hook and can stop messages from being passed to
windows by simply returning 0 from my hook procedure.

">> I trap a message in a hook procedure (say it WM_CONTEXTMENU)
>> How can I kill this message so it is not passed to Windows.
>
>