F
farseer
According to the documentation for LowLevelKeyboardProc, it states "If
the hook procedure processed the message, it may return a nonzero value
to prevent the system from passing the message to the rest of the hook
chain or the target window procedure. "
Now i am doing just in an attempt to prevent certain keys from being
outputted to a text box, but it doesn't seem to work. Under CF1.0 and
WM2003, i was doing pretty much the same thing, but using a dll to
install the hook and handle key presses. There, when i returned a
value of 1 instead of caling CallNextHookEx, the key was efficitvely
suppressed, meaning it would not be outputted to the text box.
is this a bug in CF2.0?
the hook procedure processed the message, it may return a nonzero value
to prevent the system from passing the message to the rest of the hook
chain or the target window procedure. "
Now i am doing just in an attempt to prevent certain keys from being
outputted to a text box, but it doesn't seem to work. Under CF1.0 and
WM2003, i was doing pretty much the same thing, but using a dll to
install the hook and handle key presses. There, when i returned a
value of 1 instead of caling CallNextHookEx, the key was efficitvely
suppressed, meaning it would not be outputted to the text box.
is this a bug in CF2.0?