home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / mswindo / programm / misc / 3361 < prev    next >
Encoding:
Internet Message Format  |  1992-11-10  |  1.8 KB

  1. Xref: sparky comp.os.ms-windows.programmer.misc:3361 comp.os.ms-windows.programmer.win32:1913
  2. Path: sparky!uunet!ogicse!uwm.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!sgiblab!sti.com!westes
  3. From: westes@sti.com (Will Estes)
  4. Newsgroups: comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.win32
  5. Subject: How To Store Resources For Different Types Of Monitors
  6. Message-ID: <BxJAs3.2Mw@sti.com>
  7. Date: 11 Nov 92 04:21:38 GMT
  8. Article-I.D.: sti.BxJAs3.2Mw
  9. Sender: usenet@sti.com
  10. Organization: Mail Group
  11. Lines: 32
  12. Nntp-Posting-Host: smurf
  13.  
  14. I have two questions regarding the support for different color schemes. 
  15.  
  16. Suppose you wanted one application to work with all kinds of monitors,
  17. from black-and-white through 24-bit, and that you had prepared a set of
  18. resources for each of five different color sets: 
  19.  
  20. -    B&W
  21. -    4-color
  22. -    16-color
  23. -    256-color
  24. -      24-bit
  25.  
  26. The two questions are:
  27.  
  28. 1)    What is the optimum way to save the resources?  Is it better to
  29. create separate resource-only DLLs (i.e., one for each color scheme), 
  30. and then load resources from the appropriate DLL, or is it better to 
  31. keep all of the resources in a single DLL and then load as appropriate
  32. from the one DLL?  To the extent that a LoadResource() takes up memory 
  33. for just the resource and not the entire DLL, would it make any difference 
  34. in terms of disk space (obviously not), memory utilization (?), or resource 
  35. consumption (probably not)?  
  36.  
  37. 2)     As a practical matter, which different color schemes do you need
  38. to be concerned about supporting?  For example, I assume that a 24-bit
  39. resource would probably display pretty well on a 256-color monitor, so
  40. maybe it is best to just skip developing a separate set of resources for
  41. 256-color?  I'm looking for comments from those who have had to support
  42. different color schemes.
  43.  
  44. -- 
  45. Will Estes        Internet: westes@netcom.com
  46.