Path: utzoo!utgpu!water!watmath!clyde!rutgers!rochester!ritcv!msl5864 From: msl5864@ritcv.UUCP (Michael S. Leibow) Newsgroups: comp.sys.amiga Subject: Re: forbid/permit Keywords: forbid permit Message-ID: <157@ritcv.UUCP> Date: 2 Feb 88 00:50:49 GMT References: <395@hvrunix.UUCP> <2176@charon.unm.edu> <6510@oberon.USC.EDU> Reply-To: msl5864@ritcv.UUCP (Michael S. Leibow) Organization: Rochester Institute of Technology, Rochester, NY Lines: 28 .... BLAH BLAH BLAH >>What I am trying to do in the above code is make the right mouse button >>trapped only under a certain situation on the screen, and then be able >>to turn off or on the trapping as needed. wdw is a pointer to my window, >>and the flags are currently set to other codes. I do not want to disturb >>the other flags. > >That's what Dpaint II does, too. > >-- Marco And why doesn't anyone use MENUVERIFY? WIth menuverify, you don't have to mess with the flags. When you get the MENUVERIFY from intuition, you check the mouse coordinate to see if it is where you want it. If you want the menu functions to continue you just reply to the message. If you want to cancel the menu and use just pretend you got a right button, you fill one of the fields of the reply with a cancel command, and then reply. --Mike ... I would have been more precise but I don't have my manuals around... -- Michael S. Leibow UUCP: {allegra,seismo}!rochester!ritcv!msl5864 CSNET: msl5864%rit@csnet-relay.ARPA