Skip to content

Instantly share code, notes, and snippets.

Created May 16, 2017 16:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/da04e31209c3e55d05a9fdc86ec66e66 to your computer and use it in GitHub Desktop.
Save anonymous/da04e31209c3e55d05a9fdc86ec66e66 to your computer and use it in GitHub Desktop.
Why on windows 7 chinese x64, why a VB6 application does not prompted ®‎ ?
'Charset properties:
'134 Simplified Chinese, gb2312 - Mainland China(PRC) and Singapore
'136 Traditional Chinese, big5 - Taiwan and Hong Kong
Private Sub Form_Load()
TextBox1.Font.Charset = 134
TextBox1.Font.Name = ChrW(&H5B8B) + ChrW(&H4F53)
TextBox1.Font.Size = 12
TextBox1.Text = "Chinese" + ChrW(174)
' Please do not refer to fm20.dll as I need a global solution inside that application.
' This must work for any CWnd driven control.
End Sub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment