回 帖 发 新 帖 刷新版面

主题:请问DrawText原形

请问有DrawText有他的原形吗?我没有MSDN
请发一下
或者给个该函数的 事例也行!!谢谢!!

回复列表 (共2个回复)

沙发

DrawText
The DrawText function draws formatted text in the specified rectangle. It formats the text according to the specified method (expanding tabs, justifying characters, breaking lines, and so forth). 

To specify additional formatting options, use the DrawTextEx function. 

int DrawText(
  HDC hDC,          // handle to DC
  LPCTSTR lpString, // text to draw
  int nCount,       // text length
  LPRECT lpRect,    // formatting dimensions
  UINT uFormat      // text-drawing options
);

板凳

非常感谢!
节贴

我来回复

您尚未登录,请登录后再回复。点此登录或注册