CDHtmlDialog couldn't trap WM_CHAR
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
I have tried trapping the WM_CHAR message within a CDHtmlDialog based dialog but couldn't. I used Spy++ and discovered that the messages WM_KEYDOWN,WM_KEYUP and WM_CHAR were actually sent to my dialog. But they don't get passed to my code in either OnChar,OnKeyDown or OnKeyUp. I need to handle either of the three messages so that I can read from either my barcode scanner or the keyboard. Please help?:(( What would life be without programmers and salesmen?:suss: