Path: utzoo!mnetor!uunet!husc6!bbn!mit-eddie!bloom-beacon!gatech!mcnc!decvax!decwrl!pyramid!prls!philabs!lamont!adam From: adam@lamont.Columbia.edu (adam levin) Newsgroups: comp.sys.amiga Subject: Graphics and Intuition Questions Message-ID: <480@lamont.Columbia.edu> Date: 8 Apr 88 03:11:44 GMT Organization: Lamont-Doherty Geological Observatory N.Y. Lines: 25 I'm writing a C program that uses the graphics and intuition libraries, and I have a couple of questions which the (Addison Wesley) RKMs were not able to clear up. If you know the solution(s), please reply; I'll summarize. 1. Is the code fragment on p127 of the Intuition Manual for processing a menu event correct? When I use it, and extend-select (select more than one item from a menu strip), my event handler gets in an infinite loop. I looked through a lot of the PD source code I've collected from BBSs and none of them pay attention to NextSelect. 2. After using SetAfPt() and SetDrMd() to do subsequent fills with a bi- color pattern, I want to go back to using a solid color. Must I use SetAfPt (with a pattern of say, {0xffff, 0xffff}), or is there a more proper way of resetting it? Thank you, thank you, oh, thank you! WARNING: The Surgeon General is both a surgeon and a general, so watch it! -- Phone: (914) 359-2900 x340 Post: Lamont-Doherty Geological Observatory / Palisades, NY 10964 USENET: {ihnp4, decvax, seismo} philabs!lamont!adam ARPA: lamont!adam@columbia.edu