Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request From: mcvax!front.se!per@uunet.uu.net (Per Lindberg) Newsgroups: comp.sys.sun Subject: Re: Sunview question Message-ID: <290@front.se> Date: 22 Feb 89 12:18:58 GMT References: <8901271839.AA17534@bnrmtv> Sender: usenet@rice.edu Organization: Front Capital Systems, Stockholm, Sweden Lines: 14 Approved: Sun-Spots@rice.edu Original-Date: 8 Feb 89 09:06:14 GMT X-Sun-Spots-Digest: Volume 7, Issue 164, message 7 of 9 Yes, it's possible to make a subframe catch ASCII events and have an interposed function taking care of the input. HOWEVER, it seems to be impossible (?) to get the Expose and Open keys (L5 and L7) to work once you told the subframe (in my case, a canvas) to catch keyboard input with WIN_CONSUME_KBD_EVENT, WIN_ASCII_EVENTS, WIN_CONSUME_PICK_EVENT, WIN_LEFT_KEYS, The KEY_LEFT(5) and KEY_LEFT(7) events reach the interposed handler all right, but when I send them on by calling notify_next_event_proc() at the end of the interposed function, nothing happens. Aren't canvases supposed to understand L5 and L7? Perhaps only the base frame can do that?