Path: utzoo!attcan!uunet!snorkelwacker!apple!apple.com!dowdy From: dowdy@apple.com (Tom Dowdy) Newsgroups: comp.sys.mac.programmer Subject: Re: Wanted: a window that comes up in black Message-ID: <8991@goofy.Apple.COM> Date: 5 Jul 90 17:38:54 GMT Sender: usenet@Apple.COM Organization: Apple Computer, Inc. Lines: 23 References:<1115@peyote.cactus.org> <3794@rodan.acs.syr.edu> <23026@dartvax.Dartmouth.EDU> <3315@usceast.UUCP> Here's YET ANOTHER way to do this. You can judge if it is less or more terrible than those already suggested. I call it about even, but the one effect that it relies on IS documented. I place it behind the WDEF approach, and ahead of hitting fields in the WMgrPort in the cleaniness rankings. a) Open a port (PORT, not window) in the location where the window will be. b) Fill port with black c) Dispose of port. d) Slam low memory PaintWhite ($9DC) to be zero (this keeps the window manager from filling the window with white, but leaves what is behind it, ie black), save the old copy. e) Open your window, which will get the black area, and will NOT be filled with white. f) Restore PaintWhite. Tom Dowdy Internet: dowdy@apple.COM Apple Computer MS:81EQ UUCP: {sun,voder,amdahl,decwrl}!apple!dowdy 20525 Mariani Ave AppleLink: DOWDY1 Cupertino, CA 95014 "The 'Ooh-Ah' Bird is so called because it lays square eggs."