Re: DrawText question
- From: "Mike D Sutton" <EDais@xxxxxxxx>
- Date: Fri, 17 Mar 2006 14:31:51 -0000
Whoops, I completely forgot that I use a wrapper function, which looks like this:<code snipped>
That should ensure the text is in unicode, should it not?
Try this declare/call instead:
'***
Private Declare Function DrawTextW Lib "User32.dll" ( _
ByVal hDC As Long, ByVal lpStr As Long, ByVal nCount As Long, _
ByRef lpRect As RECT, ByVal wFormat As Long) As Long
....
Call DrawTextW(hdc, StrPtr(lpStr), nCount, lpRect, wFormat)
'***
Hope this helps,
Mike
- Microsoft Visual Basic MVP -
E-Mail: EDais@xxxxxxxx
WWW: Http://EDais.mvps.org/
.
- Follow-Ups:
- Re: DrawText question
- From: Robert
- Re: DrawText question
- References:
- DrawText question
- From: Robert
- Re: DrawText question
- From: Thorsten Albers
- Re: DrawText question
- From: Robert
- Re: DrawText question
- From: Thorsten Albers
- Re: DrawText question
- From: Robert
- DrawText question
- Prev by Date: Re: DrawText question
- Next by Date: Re: Zip API in WindowsXP
- Previous by thread: Re: DrawText question
- Next by thread: Re: DrawText question
- Index(es):