Results 1 to 11 of 11

Thread: [RESOLVED] Kanji TextOut (Unicode)

Threaded View

  1. #1

    Thread Starter
    Frenzied Member Jim Davis's Avatar
    Join Date
    Mar 2001
    Location
    Mars base one Username: Jim Davis Password: yCrm33
    Posts
    1,284

    Resolved [RESOLVED] Kanji TextOut (Unicode)

    Hello!

    vb Code:
    1. Option Explicit
    2. Private Declare Function TextOutW Lib "gdi32.dll" (ByVal hdc As Long, ByVal X As Long, ByVal Y As Long, ByVal lpString As String, ByVal nCount As Long) As Long
    3.  
    4. Private Sub DisplayLetter()
    5. Dim sS As String
    6.   sS = StrConv(ChrW$((78 * 256) + 12), vbUnicode)
    7.   PictureBox1.Cls
    8.   TextOutW PictureBox1.hdc, 0, 0, sS, 1
    9. End Sub

    This will pop up a character from the unicode kanji table, but will be rotated to the left

    What am i missing here?
    Last edited by Jim Davis; Dec 4th, 2008 at 03:51 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width