[comp.sys.mac.programmer] Response Summary & another question

reynhout@wpi.wpi.edu (Hagbard Celine) (01/24/90)

   Many thanks to all who replied to my question about AddResMenu.  It was
as dumb a mistake as I had suspected.  I forgot to coerce 'DRVR' into a 
ResType.  <Although I must hasten to note that the sample instructional code
I was reading didn't do that either!>
   anyway, changing "AddResMenu(gAppleMenu, 'DRVR')"
                to: "AddResMenu(gAppleMenu, (ResType) 'DRVR')"
         fixed everything.  Thanks again.

   And now, another silly question I can't find documented.  No sample (quasi-)
instructional code to look at this time either...

   What global sets the mode for displaying a PICT?  I'm using DrawPicture, all
the PICTs are valid, as well as the port, and rect.  When I draw two PICTs that
overlap, they sort of OR themselves on top of each other.  I want the second
one to completely obscure the first (or, rather, to obscure the first wherever
they might intersect)

   I can do this with DrawText by setting TextMode to zero.  I tried the same
with PenMode, no luck.

   So, do I have to use another way of clearing intersecting regions before
displaying the second PICT??  That seems like the sort of thing that would have
a much easier solution.  But, of course, *I* haven't found it...

   Any help would be greatly appreciated.

   Andrew

PS:  This is my last stumbling block in the entire program.  Everything else is
nice & straightforward.  (Well, as close as I could have expected it to have
been, anyway.)
   Thanks in advance.
-- 
   Andrew Reynhout   (Internet: reynhout@wpi.wpi.edu)
                     (BITNET: reynhout@wpi.bitnet)
   All hail Eris!