Path: utzoo!attcan!uunet!samsung!umich!caen!mondo.engin.umich.edu!billkatt From: billkatt@mondo.engin.umich.edu (billkatt) Newsgroups: comp.sys.mac.programmer Subject: Re: Wanted: a window that comes up in black Message-ID: <1990Jul5.150437.7057@caen.engin.umich.edu> Date: 5 Jul 90 15:04:37 GMT References: <3794@rodan.acs.syr.edu> <23026@dartvax.Dartmouth.EDU> <3315@usceast.UUCP> Sender: news@caen.engin.umich.edu (CAEN Netnews) Reply-To: billkatt@mondo.engin.umich.edu (billkatt) Organization: Computer Aided Engineering Network (CAEN), University of Michigan Lines: 14 In article <3315@usceast.UUCP> jwwalker@usceast.UUCP (Jim Walker) writes: > >I thought of another "not so good way" that Keith Rollin didn't mention: >Before showing your window, temporarily change the bkPat of the Window >Manager port to black. Be sure to change it back to white once the window >is drawn! You may also need to set the window's bkPat to black to prevent >a flash. And you would probably need a custom WDEF that can draw its frame >properly when the bkPat is black. (I did enough experimentation with this >to convince myself that it could be made to work.) Careful. Many of these "black background" solutions work differently under classic and color QuickDraw. -Steve