CompuServe Messages

KEYDOWN/UP but no CHAR

    11-Jul-94 18:48:13
Fm: Sumeet Shrivastava 74441,172
To: Amtel Systems 73203,1441
Hi Paul, >Actually, I had the controls pass the keydown/keyup and char up >to its parent. This explains why you are getting WM_KEYUP and WM_KEYDOWN but no WM_CHAR messages. Not all controls get all the messages. e.g. Buttons get key up/down messages but no WM_CHARs. What messages a control gets depends on how the control procedure responds to the WM_GETDLGCODE message. A very good explanation of what WM_GETDLGCODE is, and what messages a control might receive, is given in article Q83302 in the Microsoft Knowledge Base. Paul, I think going through that article would make things more clear. Thanks. Sumeet Shrivastava Microsoft Developer Support