home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / mswindo / programm / misc / 1772 < prev    next >
Encoding:
Text File  |  1992-09-10  |  1.1 KB  |  29 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!cs.utexas.edu!sun-barr!ames!haven.umd.edu!darwin.sura.net!spool.mu.edu!umn.edu!csus.edu!netcom.com!ekalenda
  3. From: ekalenda@netcom.com (Edward J Kalenda)
  4. Subject: Realizing my palette
  5. Message-ID: <tytntra.ekalenda@netcom.com>
  6. Date: Thu, 10 Sep 92 19:22:13 GMT
  7. Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
  8. Lines: 19
  9.  
  10.  
  11. I am trying to implement the discussion in the Win 3.1 SDK
  12. SetSystemPaletteUse() documentation where they tell you how to increase
  13. the number of free slots so your own colors get loaded into the hardware's
  14. color palette.
  15.  
  16. Unfortunatley, I have only been doing Windows for a couple of months and
  17. am having problems figuring out exactly how to code things when they
  18. say to do something without even mentioning a routine to use.
  19.  
  20. If anybody has managed to get this working so their applications colors
  21. become active whenever they have the focus, and is willing to send some
  22. code fragments, please speak up. What I could really use is the code I
  23. need to put in the startup, get focus, lose focus and exit event handler
  24. case statements.
  25. -- 
  26.  
  27. Ed
  28. ekalenda@netcom.COM
  29.