Sunview question

Per Lindberg mcvax!front.se!per at uunet.uu.net
Wed Feb 22 22:18:58 AEST 1989


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?



More information about the Comp.sys.sun mailing list