This is an archive of CompuServe forum messages from 1985 to 1995, as saved in transcripts by John Foust.
Search Results (2 messages)
Ron, >>Add a message handler for WM_CHAR. The framework "pre-translates" keystroke messages when an ASCII character would be generated, and sends this message instead of WM_KEYDOWN. Thanks for the help. It sounded like a really likely solution, but I'm sorry to report that neither the CMyWindow::OnChar() handler, nor its CFormView-derived…
#no WM_KEYDOWN msgs
Message #30320
Hello, I am having difficulty handling WM_KEYDOWN in CMyWindow, my CWnd-derived window. This particular CMyWindow is the child of an MDI client window (a CFormView window). I don't really want it to process keyboard input, and I tried to avoid doing so by handling WM_SETFOCUS in this window by calling…