Path: utzoo!utgpu!water!watmath!garfield!john13 From: john13@garfield.UUCP (John Russell) Newsgroups: comp.sys.amiga Subject: Only 31 Intuiclasses? (was One more suggestion...) Message-ID: <4531@garfield.UUCP> Date: 25 Feb 88 03:59:18 GMT References: <8802210122.AA12682@jade.berkeley.edu> <1026@radio.toronto.edu> Reply-To: john13@garfield.UUCP (John Russell) Distribution: na Organization: Memorial University of Newfoundland, St. John's Lines: 28 In article <1026@radio.toronto.edu> cks@radio.UUCP (Chris Siebenmann) writes: > > I would argue against this because it does something that's already >easy to do (check for RAWKEY code == 0x5f) and because there are only >31 Intuition message classes possible, and I'd like to preserve as >many as possible for future message classes. 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...? If so (although it's entirely possible I'm overlooking something obvious) then there might be future I-Flags such as LISTEN_FOR_WEIRD_KEYS which would only take up 1 bit in the flags structure but which would cause your window to receive HELPKEY, F1KEY, CURSORUPKEY, etc. Would this be possible (desirable, compatible, insert your own adjective)? John -- "Fanaticism is all right... as long as you're ALONE! HAHAHAHA!" -- Pat Robertson shares a gem of wisdom told to him by Richard Nixon, and thus becomes the first politician to whom I can honestly apply the term "scares the willies out of me"