Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!xylogics!world!goodearl From: goodearl@world.std.com (Robert D Goodearl) Newsgroups: comp.windows.ms Subject: Re: To Window Gurus - Child Window inputs Summary: Subclass the window procedure Message-ID: <1990Jul8.154944.9677@world.std.com> Date: 8 Jul 90 15:49:44 GMT References: <1990Jul8.150639.1941@vaxa.cc.uwa.oz.au> Sender: goodearl@world.std.com Organization: The World Lines: 15 In article <1990Jul8.150639.1941@vaxa.cc.uwa.oz.au> c_leong@vaxa.cc.uwa.oz.au writes: > >Is there a way of filtering what an Edit Child window will echo. Yes, you need to sub-class the window procedure for the edit field. I don't have the references in front of me, but I know that Petzold has an example in his book. Basically, you write a window procedure that handles all of the messages before passing the desired ones on to the window procedure you are sub-classing. Off hand, I don't remember if you can do this for a single instance of the window type, or if you have to handle all windows of the class. Perhaps someone else in netland remembers or has Petzold at hand. Bob Goodearl -- goodearl@world.std.com