trapping keyboard message
-
Hi All, I have an MFC dialog App that has several controls in it, including a bunch of Edit boxes. What I'd like to do is trap the "Enter" key message from each of these edit boxes in order to do some special processing. How do I do this in an MFC App? I'd like to get the event from that control instead of just trapping a general keyboard message and then having to determine which key was pressed and which control has the focus. Any suggestions? Thanks! Dan
-
Hi All, I have an MFC dialog App that has several controls in it, including a bunch of Edit boxes. What I'd like to do is trap the "Enter" key message from each of these edit boxes in order to do some special processing. How do I do this in an MFC App? I'd like to get the event from that control instead of just trapping a general keyboard message and then having to determine which key was pressed and which control has the focus. Any suggestions? Thanks! Dan
-
Hi All, I have an MFC dialog App that has several controls in it, including a bunch of Edit boxes. What I'd like to do is trap the "Enter" key message from each of these edit boxes in order to do some special processing. How do I do this in an MFC App? I'd like to get the event from that control instead of just trapping a general keyboard message and then having to determine which key was pressed and which control has the focus. Any suggestions? Thanks! Dan