home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / os2 / programm / 4468 < prev    next >
Encoding:
Text File  |  1992-08-26  |  1.3 KB  |  28 lines

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