CDC::ExtTextOut

This method writes a character string inside the specified rectangular region.

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

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

Remarks

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

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 method. In Windows CE, this method never updates the current text position.

See Also

CDC::GetBkColor, CDC::SetBkColor, CDC::SetTextColor