windows_programming_notes.nbk: Home | Index | Next Page: The dialog manager, part 1: Warm-ups | Previous Page: TCN_SELCHANGING


 TextOut

The TextOut function writes a character string at the specified location, using the currently selected font, background color, and text color.

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
);

Parameters

Return Values

Remarks

For examples, see Enumerating the Installed Fonts.

Requirements

See Also


windows_programming_notes.nbk: Home | Index | Next Page: The dialog manager, part 1: Warm-ups | Previous Page: TCN_SELCHANGING


Notebook exported on Monday, 7 July 2008, 18:56:50 PM Eastern Daylight Time