Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!netsys!lamc!well!ewhac From: ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab) Newsgroups: comp.sys.amiga.tech Subject: Re: Window resource sharing? Message-ID: <10780@well.UUCP> Date: 20 Feb 89 09:28:06 GMT References: <11640010@hpfcdc.HP.COM> Reply-To: ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab) Organization: onhigh!oracle Lines: 29 Quote: "Look it up, mush-for-brains." -- AT&T Information In article <11640010@hpfcdc.HP.COM> cunniff@hpfcdc.HP.COM (Ross Cunniff) writes: > 1. Is it legal for multiple windows to share the same > Menu list? > Possible, but problematic. The NextMenu pointers will be going every which way, depending on which Window last had the menu. This is important because, if the user manages to interact with the Menu in one of the other Windows before you've chased down all the NextMenu elements, you could get propelled into a brick wall. Also, if you have CHECKIT MenuItems, then one Window may change the state of the CHECKED flags behind the others' back. > 2. Is it legal for multiple windows to share the same > Gadget list? > Again, possible, but problematic. Largely for the same reasons. However, because of the strange nature of the SELECTED bit in the current release, it's much easier to get yourself into trouble. It may *look* highlighted, when in fact you just turned it off. Stu Ferguson would be able to comment more completely on the subject, since he wrote Modeller 3D, which has multiple Windows using the "same" Menus and Gadgets. _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ Leo L. Schwab -- The Guy in The Cape INET: well!ewhac@ucbvax.Berkeley.EDU \_ -_ Recumbent Bikes: UUCP: pacbell > !{well,unicom}!ewhac O----^o The Only Way To Fly. hplabs / (pronounced "AE-wack") "Work FOR? I don't work FOR anybody! I'm just having fun." -- The Doctor