home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / mac / programm / 14070 < prev    next >
Encoding:
Internet Message Format  |  1992-08-16  |  1.1 KB

  1. Path: sparky!uunet!wupost!wuarchive.wustl.edu!hp48sx
  2. From: hp48sx@wupost.wustl.edu (HP48SX Archive Maintainer)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Progress bar, default color etc.
  5. Date: 16 Aug 1992 19:12:25 -0500
  6. Organization: Washington University in Saint Louis, MO USA
  7. Lines: 15
  8. Message-ID: <hp48sx.714010094@wuarchive.wustl.edu>
  9. NNTP-Posting-Host: wuarchive.wustl.edu
  10.  
  11. I have designed a progress bar dialog, and currently I draw the bar black
  12. on white with a frame around. Is there a CDEF in the system I can use
  13. for a progress bar that uses either the default color as picked by the
  14. user or the nice blue one Apple uses in the finder ?
  15.  
  16. How do I find the user selected color ? I can always find the blue one
  17. by making a screen dump in 32-bit mode, reading it into Photoshop, and
  18. get the values for the color. Also, what color is used to paint over the
  19. progress bar ? The gray color between the blue and black as you can get
  20. it from GetGray() ?
  21. -- 
  22. Povl H. Pedersen             hp48sx@wuarchive.wustl.edu
  23. HP48sx archive maintainer
  24.  
  25. All Opinions (C) Copyright the Intergalactic Thought Association
  26.