home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / mac / programm / 19696 < prev    next >
Encoding:
Text File  |  1992-12-11  |  2.3 KB  |  53 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!wupost!gumby!destroyer!ncar!uchinews!ellis!chh9
  3. From: chh9@ellis.uchicago.edu (Conrad Halling)
  4. Subject: Re: Custom WDEF 0 on PowerBook 160 -- why is it there??
  5. Message-ID: <1992Dec11.215718.2419@midway.uchicago.edu>
  6. Sender: news@uchinews.uchicago.edu (News System)
  7. Reply-To: chh9@midway.uchicago.edu
  8. Organization: University of Chicago Computing Organizations
  9. References: <1992Dec8.224216.18998@midway.uchicago.edu> <1992Dec9.184902.9275@midway.uchicago.edu> <1992Dec9.220506.11453@kth.se>
  10. Date: Fri, 11 Dec 1992 21:57:18 GMT
  11. Lines: 40
  12.  
  13. In article <1992Dec9.220506.11453@kth.se> 
  14.   d88-jwa@dront.nada.kth.se (Jon Wtte) writes:
  15.  
  16. >In <1992Dec9.184902.9275@midway.uchicago.edu> 
  17.   chh9@ellis.uchicago.edu (Conrad Halling) writes:
  18.  
  19. >>But shouldn't the way the title bars are drawn be the choice of the
  20. >>user?  Is it possible to write a control panel or extension that would 
  21. >>choose between black and white vs. gray-scale title bars?
  22. >
  23. >There is. The "colors" cdev (oops, I mean Control Panel)
  24. >
  25. >Someone posted where the window colors were stored (at the
  26. >end of a system resource) but I forgot where. Anyone care to
  27. >comment?
  28. >
  29. > -- Jon W{tte, h+@nada.kth.se, Mac Hacker Deluxe --
  30.  
  31. The "Color" control panel lets you draw the _entire_ window frame in
  32. black and white or in colors/grays.  The problem on the PowerBook 160 is
  33. that part of the window frame (and the scroll bars) is drawn in grays, but
  34. part (the title bar, go away box, and zoom box) is drawn in black and white.
  35.  
  36. With a little experimentation, I found that I can use Extensions Manager
  37. to control how the windows are drawn.  I used ResEdit to delete the 'WDEF'
  38. 0 resource from a copy of "System Enabler 111", unlocked the file, changed the
  39. name, and relocked the file.  Then I configured Extensions Manager to
  40. recognize System Enabler files (type 'gbly').  The disabled System Enabler
  41. file ends up in the "Extensions (disabled)" folder that Extensions
  42. Manager creates.  The caveat is that you have to be sure to have a
  43. System Enabler file in the system folder when you restart.  I don't know
  44. what happens if you accidently have two.
  45.  
  46. One of the DTS people wrote me a note and said that deleting the 'WDEF' 0
  47. resource from the system enabler file should cause no problems.
  48.  
  49. -- 
  50. Conrad Halling
  51. c-halling@uchicago.edu
  52.  
  53.