Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!know!zaphod.mps.ohio-state.edu!rpi!uupsi!rodan.acs.syr.edu!jfbruno From: jfbruno@rodan.acs.syr.edu (John Bruno) Newsgroups: comp.windows.ms Subject: A basic edit control question Message-ID: <1990Sep11.182127.29856@rodan.acs.syr.edu> Date: 11 Sep 90 18:21:27 GMT Sender: jfbruno@rodan.acs.syr.edu (John Bruno) Organization: Integrated Healthcare Technologies, Inc. Lines: 22 I'm just starting to play around with the MultiPad sample code that came with the SDK and have some basic questions on edit controls: 1) Where is the processing done that puts an 'e' in the window when I hit the 'e' key?? 2) Is it possible to intercept events before being passed to this procedure? (i.e., could I have the 'e' key make a 'w' in the window when pressed? If so, how?) Real code would be nice, but I just need a general push in the right direction. It seems that once SetFocus() is called, the application doesn't see any of the WM_CHAR messages, so there is no opportunity to intercept them. Could message interception work if SetFocus() is not called? I want to get messages before they're processed by the edit control proc and do things, including modifying the messages, then pass control on to the edit control proc. Forgive me if this topic is covered in the SDK manuals, I don't see anything other than descriptions on what an edit control is and how to create one. Are there any good Windows 3.0 programming books that go beyond the scope of the SDK manuals and include stuff like the above? Many thanks in advance, ---jb