Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!ji.Berkeley.EDU!wilson From: wilson@ji.Berkeley.EDU (James E. Wilson) Newsgroups: comp.sys.mac.programmer Subject: Re: Control Panel problem with custom 'wctb'. Keywords: Color, Control Panel, no-show. Message-ID: <29453@ucbvax.BERKELEY.EDU> Date: 3 Jun 89 18:06:00 GMT References: <13760@dartvax.Dartmouth.EDU> Sender: usenet@ucbvax.BERKELEY.EDU Reply-To: wilson@ji.Berkeley.EDU.UUCP (James E. Wilson) Organization: University of California, Berkeley Lines: 30 In article <13760@dartvax.Dartmouth.EDU> earleh@eleazar.dartmouth.edu (Earle R. Horton) writes: >I am at a loss to explain the following behavior. The problem is to >change the default window colors on a Mac II by changing the 'wctb' >all my windows which have the standard title bar. And so it does, >with the exception of the Control Panel's dialog window title bar, The control panel is a dialog, and the control panel just happens to have a dctb resource which forces all of its window's colors to white and black. The dctb resource owned by the Control Panel takes precedence over the system default wctb resource, and hence you get a black and white control panel window. If you want a color window, you will have to delete the control panel's dctb resource first (or edit it for color). If you do this, though, you will find that your control panel no longer works. For some reason, the General cdev crashes when you mess with the default window colors. If you have hierMenu init, and choose any cdev except General, you will see a color window. If you forget and choose General, then the system crashes, and you must reboot (ES/RS/etc don't work). This bug with the General cdev must be why the dctb was included in the first place. Unless you never use the General cdev, you will have to live with the black and white control panel window. Jim Wilson | And if a man tried to spend his time on Internet: wilson@ernie.Berkeley.EDU | earth, to show before he died, what one Usenet: ...!ucbvax!ucbernie!wilson | man's life could be worth, yes, I wonder | what would happen to this world.