MLM QUERYBACKCOLOR: Difference between revisions
Appearance
Created page with "This message queries the background color. ==Syntax== <pre> param1 LONG lBgrndColor; →Background color flag.: param2 ULONG ulReserved; →Reserved value, should be 0.: </pre> ==Parameters== ;lBgrndColor (LONG) - input: Background color flag. ::This flag can be one of the following: :::MLE_INDEX: Indexed (solid) colors. For version 3, or lower, of the OS/2 operating system the default is MLE_INDEX=0; MLE does not support dithered colors. :::MLE_RGB: Dithere..." |
No edit summary |
||
Line 20: | Line 20: | ||
;lColor ([[LONG]]) - return: Background color. | ;lColor ([[LONG]]) - return: Background color. | ||
==Remarks | ==Remarks== | ||
This message returns the color in which the background is to be drawn. | This message returns the color in which the background is to be drawn. | ||
The color values are the same as those used by GpiSetColor. | The color values are the same as those used by GpiSetColor. |
Latest revision as of 04:43, 25 April 2025
This message queries the background color.
Syntax
param1 LONG lBgrndColor; /* Background color flag. */ param2 ULONG ulReserved; /* Reserved value, should be 0. */
Parameters
- lBgrndColor (LONG) - input
- Background color flag.
- This flag can be one of the following:
- MLE_INDEX: Indexed (solid) colors. For version 3, or lower, of the OS/2 operating system the default is MLE_INDEX=0; MLE does not support dithered colors.
- MLE_RGB: Dithered colors. For versions higher than version 3, of the OS/2 operating system colors default to the RGB mode.
- This flag can be one of the following:
- ulReserved (ULONG) - input
- Reserved value, should be 0.
Returns
- lColor (LONG) - return
- Background color.
Remarks
This message returns the color in which the background is to be drawn. The color values are the same as those used by GpiSetColor.
Default Processing
The default window procedure takes no action on this message, other than to set lColor to 0.