Hello,

In my MFC application I want a keyboard filter so that on some situations only expected keys are accepted.

Example:

An edit control accepting only binary digits (0 or 1), all other keys beeing rejected.

I think OnKeyDown has to be customized but I am not sure

Thank you in helping me.

Whitebird001