home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- 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
- From: ekalenda@netcom.com (Edward J Kalenda)
- Subject: Realizing my palette
- Message-ID: <tytntra.ekalenda@netcom.com>
- Date: Thu, 10 Sep 92 19:22:13 GMT
- Organization: Netcom - Online Communication Services (408 241-9760 guest)
- Lines: 19
-
-
- I am trying to implement the discussion in the Win 3.1 SDK
- SetSystemPaletteUse() documentation where they tell you how to increase
- the number of free slots so your own colors get loaded into the hardware's
- color palette.
-
- Unfortunatley, I have only been doing Windows for a couple of months and
- am having problems figuring out exactly how to code things when they
- say to do something without even mentioning a routine to use.
-
- If anybody has managed to get this working so their applications colors
- become active whenever they have the focus, and is willing to send some
- code fragments, please speak up. What I could really use is the code I
- need to put in the startup, get focus, lose focus and exit event handler
- case statements.
- --
-
- Ed
- ekalenda@netcom.COM
-