CDC::ExtTextOut

This member function writes a character string inside the specified rectangular region.

Syntax

virtual BOOL ExtTextOut ( int x, int y, UINT nOptions, LPCRECT lpRect, LPCTSTR lpszString, UINT nCount, LPINT lpDxWidths );

BOOL ExtTextOut ( int x, int y, UINT nOptions, LPCRECT lpRect, const CString& str, LPINT lpDxWidths );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

Remarks

Windows CE 1.0 does not support the ETO_GLYPH_INDEX or ETO_RTLREADING flags in the nOptions parameter.

Note In Windows 95 and Windows NT, you can cause CDC::DrawText to update the current text position by first calling CDC::SetTextAlign with the TA_UPDATECP flag set, but Windows CE does not support the CDC::SetTextAlign member function. In Windows CE, this function never updates the current text position.

See Also

CDC Overview, CDC Member Functions, Graphical Drawing Classes, CDC::GetBkColor, CDC::SetBkColor, CDC::SetTextColor