msgs12.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
MLM_SETBACKCOLOR (1.2)
Message Group  Overview                           Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINMLE
 
MLM_SETBACKCOLOR
mp1 = MPFROMLONG((COLOR) clr);    /* color                  */
mp2 = 0L;                         /* not used, must be zero */
 
An application sends an MLM_SETBACKCOLOR message to set the background color
of a multiple-line entry field (MLE).
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
clr        Specifies the color. This parameter can be one of the following
           values:
 
           Value           Meaning
           ─────────────────────────────────────────────────────────────────
           CLR_FALSE       All color planes are zeros.
 
           CLR_TRUE        All color planes are ones.
 
           CLR_DEFAULT     Default value; same as CLR_NEUTRAL.
 
           CLR_WHITE       White.
 
           CLR_BLACK       Black.
 
           CLR_BACKGROUND  Reset color.
 
           CLR_BLUE        Blue.
 
           CLR_RED         Red.
 
           CLR_PINK        Pink.
 
           CLR_GREEN       Green.
 
           CLR_CYAN        Cyan.
 
           CLR_YELLOW      Yellow.
 
           CLR_NEUTRAL     Neutral.
 
           CLR_DARKGRAY    Dark gray.
 
           CLR_DARKBLUE    Dark blue.
 
           CLR_DARKRED     Dark red.
 
           CLR_DARKPINK    Dark pink.
 
           CLR_DARKGREEN   Dark green.
 
           CLR_DARKCYAN    Dark cyan.
 
           CLR_BROWN       Brown.
 
           CLR_PALEGRAY    Light gray.
 
Return Value
 
The return value is the previous color of the background.
 
See Also
 
MLM_QUERYBACKCOLOR, MLM_SETTEXTCOLOR