<?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 : Sizable control in toobar</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Sizable control in toobar]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 30 Apr 2026 07:48:32 +0000</pubDate>
  <lastBuildDate>Fri, 03 Aug 2007 14:52:03 +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=7480</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[Sizable control in toobar : It appears that the CXTPControlCombobox...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7480&amp;PID=24862&amp;title=sizable-control-in-toobar#24862</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=537">Kenneth</a><br /><strong>Subject:</strong> 7480<br /><strong>Posted:</strong> 03 August 2007 at 2:52pm<br /><br /><P>It appears that the CXTPControlCombobox listbox is not unicode/unicows compliant.&nbsp; If I add unicode text to it using AddString, then in the DrawItem function (taken from the CustomThemes example), the following returns a CString that appears to have gone through some type of codepage conversion on Windows 98 as indicated by ??? in the text when drawn using the dc.TextOut function.</P><DIV>&nbsp;((CListBox*)this)-&gt;GetText(lpDrawItemStruct-&gt;itemID,strText); </DIV><DIV>&nbsp;</DIV><DIV>Any ideas?</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 03 Aug 2007 14:52:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7480&amp;PID=24862&amp;title=sizable-control-in-toobar#24862</guid>
  </item> 
  <item>
   <title><![CDATA[Sizable control in toobar : Hello,  Call GetEditCtrl() to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7480&amp;PID=24831&amp;title=sizable-control-in-toobar#24831</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 7480<br /><strong>Posted:</strong> 03 August 2007 at 3:36am<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>Call GetEditCtrl() to get pointer to richedit.</DIV>]]>
   </description>
   <pubDate>Fri, 03 Aug 2007 03:36:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7480&amp;PID=24831&amp;title=sizable-control-in-toobar#24831</guid>
  </item> 
  <item>
   <title><![CDATA[Sizable control in toobar : CXTPEdit does use EM_GETTEXTEX...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7480&amp;PID=24815&amp;title=sizable-control-in-toobar#24815</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=537">Kenneth</a><br /><strong>Subject:</strong> 7480<br /><strong>Posted:</strong> 02 August 2007 at 6:44pm<br /><br /><P>CXTPEdit does use EM_GETTEXTEX to get text if _UNICODE is set however it does not use EM_SETTEXEX to set text, and it appears that I cannot get access to the richedit control to set it myself.</P>]]>
   </description>
   <pubDate>Thu, 02 Aug 2007 18:44:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7480&amp;PID=24815&amp;title=sizable-control-in-toobar#24815</guid>
  </item> 
  <item>
   <title><![CDATA[Sizable control in toobar : Oleg  When you add the icons/owner...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7480&amp;PID=24189&amp;title=sizable-control-in-toobar#24189</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=537">Kenneth</a><br /><strong>Subject:</strong> 7480<br /><strong>Posted:</strong> 04 July 2007 at 2:17pm<br /><br />Oleg<DIV>&nbsp;</DIV><DIV>When you add the icons/owner draw to CXTPControlComboBox, let me know and I can test it.&nbsp; We do have Windowns Me with Chinese support.</DIV>]]>
   </description>
   <pubDate>Wed, 04 Jul 2007 14:17:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7480&amp;PID=24189&amp;title=sizable-control-in-toobar#24189</guid>
  </item> 
  <item>
   <title><![CDATA[Sizable control in toobar : Hello,  CXTPControlCombobox uses...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7480&amp;PID=24162&amp;title=sizable-control-in-toobar#24162</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 7480<br /><strong>Posted:</strong> 03 July 2007 at 2:16pm<br /><br /><P>Hello, </P><DIV>CXTPControlCombobox&nbsp; uses RchEdit for edit,&nbsp;but standard system ListBox for List, CComboBoxEx don't use system drawing, but manually draw text/icons for items. Think we will change it too + will add icons support. </DIV><DIV>&nbsp;</DIV><DIV>I can't test it now with all my Win98/ME - they don't have Japanese, Korean or Chinese languages installed.</DIV><DIV>&nbsp;</DIV><DIV>ps. You can manully add self drawn list box now that will support unicode - see CustomThemes sample.</DIV>]]>
   </description>
   <pubDate>Tue, 03 Jul 2007 14:16:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7480&amp;PID=24162&amp;title=sizable-control-in-toobar#24162</guid>
  </item> 
  <item>
   <title><![CDATA[Sizable control in toobar : Oleg  I am a bit confused about...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7480&amp;PID=24160&amp;title=sizable-control-in-toobar#24160</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=537">Kenneth</a><br /><strong>Subject:</strong> 7480<br /><strong>Posted:</strong> 03 July 2007 at 1:36pm<br /><br />Oleg<DIV>&nbsp;</DIV><DIV>I am a bit confused about the CXTPControlComboBox.&nbsp; In the standard Microsoft CComboBoxEx control, the display of Unicode on Windows 98/ME using unicows requires the replacement of the standard edit window with one based on richedit.&nbsp; The list box has no problem with the unicode characters.</DIV><DIV>&nbsp;</DIV><DIV>Why does the CXTPControlCombobox list box have this problem?&nbsp; As you stated, the edit control does support unicode/unicows (although there is some type of font height issue).&nbsp; </DIV><DIV>&nbsp;</DIV><DIV>Also, does the CXTPControlComboBox support images like the CComboBoxEx?</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 03 Jul 2007 13:36:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7480&amp;PID=24160&amp;title=sizable-control-in-toobar#24160</guid>
  </item> 
  <item>
   <title><![CDATA[Sizable control in toobar : I have a test setup using CXTPControlComboBox...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7480&amp;PID=24127&amp;title=sizable-control-in-toobar#24127</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=537">Kenneth</a><br /><strong>Subject:</strong> 7480<br /><strong>Posted:</strong> 02 July 2007 at 12:43pm<br /><br />I have a test setup using CXTPControlComboBox and it does not display unicode correctly on Windows 98/ME.&nbsp; When I add some test data to the CXTPControlComboBox list containing &#46321;&#44592;&#50864;&#54200;.com, it works ok on XP but on Windows ME it displays as ????.com.&nbsp; If I use our CComboBoxEx it works ok on both XP and Windows 98/ME.&nbsp; Note that in both cases I have enabled unicows support on Windows 98/ME.<DIV>&nbsp;</DIV><DIV>The only difference is with CXTPControlComboBox I have to insert items into the list with AddString() whereas with CComboBoxEX I use the InsertItem() (which is not supported by CXTPControlComboBox as far as I can tell).&nbsp; Any ideas?</DIV><DIV>&nbsp;</DIV><DIV>BTW, the GetOwner() in your comments above does return the correct parent window.&nbsp; I used AfxGetMainWnd() instead and it works.</DIV>]]>
   </description>
   <pubDate>Mon, 02 Jul 2007 12:43:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7480&amp;PID=24127&amp;title=sizable-control-in-toobar#24127</guid>
  </item> 
  <item>
   <title><![CDATA[Sizable control in toobar : Hi,  CXTPEdit that used by CXTPControlComboxBox...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7480&amp;PID=24122&amp;title=sizable-control-in-toobar#24122</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 7480<br /><strong>Posted:</strong> 02 July 2007 at 10:32am<br /><br /><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>CXTPEdit that used by CXTPControlComboxBox is also RichEdit and it also use EM_GETTEXTEX to get text (Always 1200 used) ... so guess it can work with unicows.</DIV>]]>
   </description>
   <pubDate>Mon, 02 Jul 2007 10:32:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7480&amp;PID=24122&amp;title=sizable-control-in-toobar#24122</guid>
  </item> 
  <item>
   <title><![CDATA[Sizable control in toobar : Oleg  If I understand it correctly,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7480&amp;PID=24117&amp;title=sizable-control-in-toobar#24117</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=537">Kenneth</a><br /><strong>Subject:</strong> 7480<br /><strong>Posted:</strong> 02 July 2007 at 9:17am<br /><br />Oleg<DIV>&nbsp;</DIV><DIV>If I understand it correctly, we have to be able to do a SendMessage to CComboBoxEx in order to get/set the Unicode text.&nbsp; The SendMessage is of type EM_SETTEXTEX and EM_GETTEXTEX with respective SETTEXTEX and GETTEXTEX codepage parameter set to a unicode codepage (1200).</DIV><DIV>&nbsp;</DIV><DIV>In additon,&nbsp;the standard CComboBoxEx edit window is replaced with a CRichEditCtrl in order for proper operation on Windows 98/ME.</DIV>]]>
   </description>
   <pubDate>Mon, 02 Jul 2007 09:17:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7480&amp;PID=24117&amp;title=sizable-control-in-toobar#24117</guid>
  </item> 
  <item>
   <title><![CDATA[Sizable control in toobar : Hi, Just override CXTComboBoxEx:  class...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7480&amp;PID=24097&amp;title=sizable-control-in-toobar#24097</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 7480<br /><strong>Posted:</strong> 02 July 2007 at 4:56am<br /><br /><P>Hi,</P><DIV>Just override CXTComboBoxEx:</DIV><DIV>&nbsp;</DIV><DIV>class CAddressComboBox : public CXTComboBoxEx<BR>{<BR>&nbsp;BOOL PreTranslateMessage(MSG* pMsg);<BR>};</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>BOOL CAddressComboBox::PreTranslateMessage(MSG* pMsg)<BR>{<BR>&nbsp;if (pMsg-&gt;message == WM_KEYDOWN &amp;&amp; pMsg-&gt;wParam == VK_RETURN)<BR>&nbsp;{<BR>&nbsp;&nbsp;GetOwner()-&gt;SendMessage(WM_COMMAND, IDOK);<BR>&nbsp;}</DIV><DIV>&nbsp;return CXTComboBoxEx::PreTranslateMessage(pMsg);<BR>}<BR></DIV><DIV>&nbsp;</DIV><DIV>btw what methods/messages are not supported by xtpControlComboBox + Unicows?</DIV>]]>
   </description>
   <pubDate>Mon, 02 Jul 2007 04:56:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7480&amp;PID=24097&amp;title=sizable-control-in-toobar#24097</guid>
  </item> 
 </channel>
</rss>