home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.programmer
- Path: sparky!uunet!gatech!taco!cheshire.catt.ncsu.edu!harris
- From: harris@cheshire.catt.ncsu.edu (Michael Harris)
- Subject: Re: Help: Cannot set colors in MLE controls
- Message-ID: <harris.714866448@cheshire.catt.ncsu.edu>
- Sender: news@ncsu.edu (USENET News System)
- Organization: North Carolina State University
- References: <2canhz=.grega@netcom.com>
- Date: Wed, 26 Aug 1992 22:00:48 GMT
- Lines: 16
-
- grega@netcom.com (Greg Altman) writes:
-
- >I am trying to set colors in MLE controls using presentation parameters, i.e.
- >FOREGROUNDCOLOR and BACKGROUNDCOLOR. I am using longs to pass in RGB values.
- >This works just fine in all the other controls, by MLE set their colors to
- >the 16 provided by the system.
-
- >Is something wrong? Should I use some other methods for setting MLE colors?
-
- I don't know... but there are MLM_ messages to do this. I don't have the docs
- in front of me but I think they are MLM_SETBACKCOLOR MLM_SETFORCOLOR (or
- something close to that). The messages use the CLR_ system values.
- ______________________________________________________________________________
- Michael Harris - harris@catt.ncsu.edu or harris@carvm3.vnet.ibm.com
- System Administrator, Computer & Technologies Theme Program, NC State Univ.
- (My opinions are my own and do not represent those of NCSU or IBM Corporation)
-