Path: utzoo!utgpu!utcsri!me!radio!cks From: cks@radio.toronto.edu (Chris Siebenmann) Newsgroups: comp.sys.amiga Subject: Only 31 Intuiclasses? (was One more suggestion...) Message-ID: <1032@radio.toronto.edu> Date: 29 Feb 88 08:13:14 GMT Article-I.D.: radio.1032 Posted: Mon Feb 29 03:13:14 1988 References: <8802210122.AA12682@jade.berkeley.edu> <1026@radio.toronto.edu> <4531@garfield.UUCP> Reply-To: cks@radio.toronto.edu.UUCP (Chris Siebenmann) Organization: Newsaholics Anonymous Lines: 23 In article <4531@garfield.UUCP> john13@garfield.UUCP (John Russell) writes: ... > Is it actually necessary to impose a limit of distinct bit positions? For the > window IDCMPFlags I can see, but isn't all Intuimessage processing done with > > case CLASS1: > case CLASS2: > > etc which would work just as well with 1,2,3,4... as with 1,2,4,8...? The problem is things like ModifyIDCMP() and NewWindow structures, to which you supply OR-ed together flags. In addition, the application I'm working on now uses message masks to decide what routine to dispatch a given message to, and Intuition presumably uses the mask internally to decide whether to send a window a given event. You might be able to do it for new message classes, but it would probably take too much effort to be really useful. -- You're a prisoner of the dark sky/The propeller blades are still And the evil eye of the hurricane's/Coming in for the kill Chris Siebenmann {allegra,mnetor,decvax,pyramid}!utgpu!radio!cks cks@radio.toronto.edu or ...!utgpu!{chp!hak!ziebmef,ontmoh}!cks