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_QUERYTEXTCOLOR (1.2)
Message Group  Overview                           Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINMLE
 
MLM_QUERYTEXTCOLOR
mp1 = 0L;    /* not used, must be zero */
mp2 = 0L;    /* not used, must be zero */
 
An application sends an MLM_QUERYTEXTCOLOR message to obtain the color of
the text in a multiple-line entry field (MLE).
 
This message does not use any parameters.
 
Return Value
 
The return value is a 32-bit value that indicates the color of the text. It
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.
 
See Also
 
MLM_SETTEXTCOLOR