TextOut 函数是在客户区指定位置显示文本的 GDI 函数,它的原型如下:
BOOL TextOut( HDC hdc, // 设备环境句柄 int nXStart, // 开始位置的 x 坐标 int nYStart, // 开始位置的 y 坐标 LPCTSTR lpString, // 要显示的字符串 int cbString // 要显示字符个数 );
TextOut 函数是在客户区指定位置显示文本的 GDI 函数,它的原型如下:
BOOL TextOut( HDC hdc, // 设备环境句柄 int nXStart, // 开始位置的 x 坐标 int nYStart, // 开始位置的 y 坐标 LPCTSTR lpString, // 要显示的字符串 int cbString // 要显示字符个数 );