Group: Font and Text - Library: gdi32
Writes a character string at the specified location, using the currently selected font, background color, and text color.
Printing text on the client area of the main VFP window
Printing text on the main VFP window
Creating a window using CreateWindowEx function
Using FrameRgn for displaying system colors
Creating a clipping region from the path selected into the device context of a form
Splash Screen for the VFP application
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
Vertical Label control
BOOL TextOut(
HDC hdc, // handle to DC
int nXStart, // x-coordinate of starting position
int nYStart, // y-coordinate of starting position
LPCTSTR lpString, // character string
int cbString // number of characters
);
DECLARE INTEGER TextOut IN gdi32;
INTEGER hdc,;
INTEGER x,;
INTEGER y,;
STRING lpString,;
INTEGER nCount
hdc [in] Handle to the device context.
nXStart [in] Specifies the logical x-coordinate of the reference point that the system uses to align the string.
nYStart [in] Specifies the logical y-coordinate of the reference point that the system uses to align the string.
lpString [in] Pointer to the string to be drawn
If the function succeeds, the return value is nonzero
See also: DrawText, CreateFont.