Click to See Complete Forum and Search --> : character input in Dialog Box


LeighNorris
May 4th, 1999, 10:01 AM
How do you add the ability to handel WM_CHAR messages to a Dialog Box?
The books say to use the TranslateAccelerators to identify which keys you
need, but I need to handle the whole keyboard. The OnChar function is never
called apparently because IsDialogMessage takes care of it?
Thanks.

Ramkumar Ganesan
May 4th, 1999, 03:05 PM
Looking into the WM_GETDLGCODE message processing may help solve Ur problem though I'm not very sure of what u really want done. This message has an option DLGC_WANTCHARS using which u can trap all WM_CHAR messages.

Regards
Ram