Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!caen!uwm.edu!bionet!hayes.ims.alaska.edu!raven.alaska.edu!acad3.alaska.edu!fxcmh From: fxcmh@acad3.alaska.edu Newsgroups: comp.sys.mac.programmer Subject: Color Quickdraw and RBGBackColor Message-ID: <1991May20.163218.1@acad3.alaska.edu> Date: 20 May 91 20:32:18 GMT Sender: news@raven.alaska.edu (USENET News System) Organization: University of Alaska Fairbanks Lines: 18 Nntp-Posting-Host: acad3.alaska.edu Easy (I hope) color quickdraw question. I set the RGBBackColor to anything besides white, and do some EraseRect calls, among other things. Then, within the application, everything works fine. I change the RGBBBackColor (sp?) back to white, and everything still works fine, until the application quits. Then, unfortunately, things quit working. The background color for a lot of the windows from other applications turns black. For instance, the buttons in any dialog box that comes up after I quit my application are entirely black. This makes it tough to read them! Anyway, the question is, what am I doing wrong? I am sure it is the RGBBackColor call, because if I change them all to RGBForeColor and change the EraseRect to FillRect, everything works fine. I am not willing to leave it like this because what I am doing is really the background of the window. ------------------------------------------------------------------------------- | Chris Hartman; Academic Computing; University of AK, Fairbanks. | | INTERNET: fxcmh@acad3.alaska.edu; BITNET: FXCMH@ALASKA; SNAIL PO Box 901073 | | *** Nobody ever said being a math major was FUN! *** Fbnks, AK 99775 | -------------------------------------------------------------------------------