Group: Font and Text - Library: gdi32
Printing text on the main VFP window
Using FrameRgn for displaying system colors
Splash Screen for the VFP application
Using the DrawText function
Using Font and Text functions
How to put a horizontal text scrolling on the form (a news line, marquee)
How to put a vertical text scrolling on the form (a movie cast)
Printing text with the Escape function
Subclassing CommandButton control to create BackColor property
Vertical Label control
Placing On-screen Alert on top of all windows
COLORREF SetTextColor(
HDC hdc, // handle to DC
COLORREF crColor // text color
); DECLARE INTEGER SetTextColor IN gdi32;
INTEGER hdc, INTEGER crColor hdc [in] Handle to the device context.
crColor [in] Specifies the color of the text.
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).
Home