-
far
A keydown event for one of my controls passes
to the keydown function.
This is obviously to be able to restrict the char to be displayed
in the control.
However, i'm not sure how to set this value in order to restrict
the character from being displayed.
I tried pbStop = 1 or pbStop = TRUE but that's obviously not the
correct way.
-
It's a pointer, so you need to dereference it:
Code:
pbStop && (*pbStop = TRUE);
The check is in case it's NULL.
The FAR is useless in 32-bit programming, it doesn't even resolve to anything :D