 |
SetBkColor ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The SetBkColor function sets the current background color to the specified color value, or to the nearest physical color if the device cannot represent the specified color value. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
COLORREF SetBkColor(
HDC hdc, // handle to DC
COLORREF crColor // background color value
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER SetBkColor IN gdi32;
INTEGER hdc,;
LONG crColor
|
 |
 |
 |
| Parameters: |
 |
hdc
[in] Handle to the device context.
crColor
[in] Specifies the new background color. |
 |
 |
| Return value: |
 |
If the function succeeds, the return value specifies the previous background color as a COLORREF value. If the function fails, the return value is CLR_INVALID.
|
 |
 |
| Word Index links for the SetBkColor : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2002-12-22 13:55:57 | | Modified: | 2002-12-22 13:57:19 | Visited in last 7 days: 52 |