c_leong@vaxa.cc.uwa.oz.au (07/08/90)
Dear Window Gurus, Is there a way of filtering what an Edit Child window will echo. My problem is that when the Edit Child window has input focus, all key input is thus echoed in the Child window, such that keys like ENTER results in a fullstop character being displayed. Is there away of selecting what will be displayed by the Child window. Thanks Clement
goodearl@world.std.com (Robert D Goodearl) (07/08/90)
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