<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Unicode keyboard input</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : Unicode keyboard input]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 03:42:09 +0000</pubDate>
  <lastBuildDate>Tue, 21 Feb 2012 00:29:52 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=17177</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Unicode keyboard input :   hi i request you to send the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17177&amp;PID=67641&amp;title=unicode-keyboard-input#67641</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6981">surfer_del</a><br /><strong>Subject:</strong> 17177<br /><strong>Posted:</strong> 21 February 2012 at 12:29am<br /><br /><img src="http://forum.codejock.com/smileys/smiley1.gif" height="17" width="17" border="0" alt="Smile" title="Smile" /><div></div>hi i request you to send the code please. but didnt replied .<div>if you have that please provide the community.</div><div>&nbsp;</div><div>thank you,</div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Tue, 21 Feb 2012 00:29:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17177&amp;PID=67641&amp;title=unicode-keyboard-input#67641</guid>
  </item> 
  <item>
   <title><![CDATA[Unicode keyboard input :  I tried entering unicode text...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17177&amp;PID=67610&amp;title=unicode-keyboard-input#67610</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7333">ngyntom</a><br /><strong>Subject:</strong> 17177<br /><strong>Posted:</strong> 14 February 2012 at 3:42am<br /><br /><span style="text-align: left; : rgb248, 248, 252; ">I tried entering unicode text in vietnam, flatedit display ??. i changed keypreview but not show, can u help me?</span><div style="text-align: left;"><br></div><div style="text-align: left;">i'm using&nbsp;</div><div style="text-align: left;">-Codejock.Controls.Unicode.v15.0.1.ocx</div><div style="text-align: left;">-vb6sp6</div>]]>
   </description>
   <pubDate>Tue, 14 Feb 2012 03:42:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17177&amp;PID=67610&amp;title=unicode-keyboard-input#67610</guid>
  </item> 
  <item>
   <title><![CDATA[Unicode keyboard input : I had similar problems in vb6....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17177&amp;PID=67354&amp;title=unicode-keyboard-input#67354</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4913">TomasS</a><br /><strong>Subject:</strong> 17177<br /><strong>Posted:</strong> 09 January 2012 at 9:08am<br /><br />I had similar problems in vb6. I tried entering unicode text in chinese, korean and some other languages, but they all just turned into question marks in the CJ controls. Just like in the native controls. But after setting keypreview=false on the form it worked fine.<div><br></div>]]>
   </description>
   <pubDate>Mon, 09 Jan 2012 09:08:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17177&amp;PID=67354&amp;title=unicode-keyboard-input#67354</guid>
  </item> 
  <item>
   <title><![CDATA[Unicode keyboard input : thanx for your suggestion i am...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17177&amp;PID=66058&amp;title=unicode-keyboard-input#66058</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6981">surfer_del</a><br /><strong>Subject:</strong> 17177<br /><strong>Posted:</strong> 26 August 2011 at 7:45am<br /><br />thanx for your suggestion i am facing the same problem. whenever i try to input with ime (google or other) i get ?????. i am using vb6 with sp6. please send the code to amaanshiekh@yahoo.com<br><br>i hope you will reply<br><br>with best wishes<br>amaan<br>]]>
   </description>
   <pubDate>Fri, 26 Aug 2011 07:45:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17177&amp;PID=66058&amp;title=unicode-keyboard-input#66058</guid>
  </item> 
  <item>
   <title><![CDATA[Unicode keyboard input : I realize most people probably...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17177&amp;PID=60001&amp;title=unicode-keyboard-input#60001</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4171">dbenito</a><br /><strong>Subject:</strong> 17177<br /><strong>Posted:</strong> 01 September 2010 at 6:49am<br /><br />I realize most people probably won't be interested in this, but I'll post my solution just in case:<DIV>&nbsp;</DIV><DIV>What I ended up doing was a combination of hooking and subclassing (using the ComCtl32 subclassing functions, which are only supported on Windows XP or greater, but are very safe and don't seem to interfere with existing subclasses). First I install a&nbsp;WH_CALLWNDPROC hook (for the thread in which my VB6 UI is running) to intercept all WM_CREATE events, and I basically subclass any new window that gets created (making sure to remove the subclass when WM_DESTROY gets called). I also install a WH_GETMESSAGE hook (again, only for my UI thread), and whenever it gets a WM_CHAR message, it stores the hWnd and wParam values (which always seem to include the correct Unicode char). Then, in the subclass window proc, when I process a WM_CHAR message I compare the hWnd values and, if they match, I replace the incorrect wParam (which VB6 has probably messed up somehow) and replace it with the value I had stored.</DIV><DIV>&nbsp;</DIV><DIV>If anybody is having trouble with complex script input with CodeJock controls in VB6, I'll be glad to send them code snippets.</DIV>]]>
   </description>
   <pubDate>Wed, 01 Sep 2010 06:49:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17177&amp;PID=60001&amp;title=unicode-keyboard-input#60001</guid>
  </item> 
  <item>
   <title><![CDATA[Unicode keyboard input : I&amp;#039;m struggling with a rather...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17177&amp;PID=59982&amp;title=unicode-keyboard-input#59982</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4171">dbenito</a><br /><strong>Subject:</strong> 17177<br /><strong>Posted:</strong> 31 August 2010 at 1:25pm<br /><br />I'm struggling with a rather obscure problem: when hosted on VB6 forms, COM controls that&nbsp;host Unicode windows (e.g. created by calling CreateWindowExW) receive incorrect information in WM_CHAR messages for certain Unicode characters (for example, if you try to enter Tamil characters you always get sent question marks instead); funnily enough, if the same control is hosted in a Unicode application (such as IE), the WM_CHAR messages come through just fine. I suspect it has something to do with VB6 calling the ANSI version of TranslateMessage in the message loop.<DIV>&nbsp;</DIV><DIV>Any, I finally figured out a way of getting around this, which is to subclass the Unicode window, storing the keycode sent in WM_KEYDOWN and then constructing the corresponding Unicode character in WM_CHAR message (by calling ToUnicodeEx in certain circumstances, etc.), and it works fine in my own controls.</DIV><DIV>&nbsp;</DIV><DIV>Unfortunately, the CodeJock Suite Controls don't do any such handling, and it would be a pain to have to subclass each one individually (particularly since they already use subclasses internally, and I'd rather not interfere with that). So I though a solution might be to install a thread-wide WH_GETMESSAGE hook and do the same kind of processing. The weird this is that, when I check the data sent with the WM_CHAR message intercepted by my hook, the Unicode characters are always set correctly. However, whether I return from the hook immediately or I call the next hook, the control (in this case a CodeJock FlatEdit control, which internally uses a standard Windows Edit control) eventually seems to receive a WM_CHAR with the wrong stuff (character code 63, as usual).</DIV><DIV>&nbsp;</DIV><DIV>Does anyone have any experience with entering complex script text (particularly for the new Unicode-only locales that were added in Windows XP, such as Tamil or Gujarati?) into CodeJock Suite controls hosted in VB6?</DIV>]]>
   </description>
   <pubDate>Tue, 31 Aug 2010 13:25:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17177&amp;PID=59982&amp;title=unicode-keyboard-input#59982</guid>
  </item> 
 </channel>
</rss>