 |
SetTextColor ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Sets the text color for the specified device context to the specified color. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
COLORREF SetTextColor(
HDC hdc, // handle to DC
COLORREF crColor // text color
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER SetTextColor IN gdi32;
INTEGER hdc, INTEGER crColor
|
 |
 |
 |
| Parameters: |
 |
hdc
[in] Handle to the device context.
crColor
[in] Specifies the color of the text. |
 |
 |
| Return value: |
 |
If the function succeeds, the return value is a color reference for the previous text color as a COLORREF value. If the function fails, the return value is CLR_INVALID (0xFFFFFFFF).
|
 |
 |
| Word Index links for the SetTextColor : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-09-08 12:00:00 | | Modified: | 2001-11-26 16:03:36 | Visited in last 7 days: 66 |