使用 DrawText( hdc, pchar(s), length(s), rcRect, DT_NOPREFIX or DT_WORDBREAK); 作用: s :需要打印的字符串 rcRect :字符串应该打印在其中的矩形区域。