如何在vb.net下调用API函数DrawText?
如何在vb.net下调用API函数DrawText?
下面是API函数DrawText在VB6下的声明:
Public Declare Function DrawText Lib "user32 " Alias "DrawTextA " (ByVal hdc As Long, ByVal lpStr As String, _
ByVal nCount As Long, lpRect As RECT, ByVal wFormat As Long) As Long
众所周知vb.net下没有hdc,请问各位这该怎么办呢?
谢谢!
[解决办法]
.Net本身支持绘制文本,你又何必舍近求远??
[解决办法]
学习