<?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 : &quot;Customize...&quot; disappears</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : &quot;Customize...&quot; disappears]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 00:05:25 +0000</pubDate>
  <lastBuildDate>Wed, 27 Jun 2007 02:07:00 +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=7428</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[&quot;Customize...&quot; disappears : &amp;gt; How do you add german toolkit...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7428&amp;PID=23975&amp;title=customize-disappears#23975</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1169">farr02</a><br /><strong>Subject:</strong> 7428<br /><strong>Posted:</strong> 27 June 2007 at 2:07am<br /><br />&gt; How do you add german toolkit langauge? <br>Hi Oleg,<br><br>that was the solution, because someone has commented the "#include" statement for the  corresponding resource file (and source-safe told, it was not me <img src="http://forum.codejock.com/smileys/smiley4.gif" border="0" align="absmiddle">). After removing the comment language switching works and I get the "Anpassen..." field.<br><br>Thanks a lot<br>&nbsp;&nbsp; Holger<br><br>PS: I will try the current version.<br>]]>
   </description>
   <pubDate>Wed, 27 Jun 2007 02:07:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7428&amp;PID=23975&amp;title=customize-disappears#23975</guid>
  </item> 
  <item>
   <title><![CDATA[&quot;Customize...&quot; disappears : Hi,  How do you add german toolkit...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7428&amp;PID=23933&amp;title=customize-disappears#23933</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 7428<br /><strong>Posted:</strong> 26 June 2007 at 1:07am<br /><br /><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>How do you add german toolkit langauge? try to modify our sample with same code and attach it here.</DIV><DIV>&nbsp;</DIV><DIV>btw I very recommend you update your&nbsp;toolkit - with enabled Actions , you will be able to switch language for toolbars and menus without reset them - all user customization will be preserved.</DIV>]]>
   </description>
   <pubDate>Tue, 26 Jun 2007 01:07:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7428&amp;PID=23933&amp;title=customize-disappears#23933</guid>
  </item> 
  <item>
   <title><![CDATA[&quot;Customize...&quot; disappears : Hello Oleg,I use the following...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7428&amp;PID=23916&amp;title=customize-disappears#23916</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1169">farr02</a><br /><strong>Subject:</strong> 7428<br /><strong>Posted:</strong> 25 June 2007 at 10:46am<br /><br />Hello Oleg,<br><br>I use the following codefragment for language switching:<br><blockquote><table width="99%"><tr><td><pre class="BBcode"><br>WORD lang = 0;<br>switch(language) {<br><font face="Courier New, Courier, mono">case 0: </font><br><font face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; lang = LANGIDFROMLCID(userDefault);</font><br><font face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; break;</font><br><font face="Courier New, Courier, mono">case 1: // english</font><br><font face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; lang = MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US);</font><br><font face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; break;</font><br><font face="Courier New, Courier, mono">case 2: // german</font><br><font face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; lang&nbsp; = MAKELANGID(LANG_GERMAN, SUBLANG_GERMAN);</font><br><font face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; break;</font><br><font face="Courier New, Courier, mono">default: // unknown value -&gt; keep language setting</font><br><font face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; lang = 0;</font><br><font face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; break;</font><br><font face="Courier New, Courier, mono">}</font><br><font face="Courier New, Courier, mono">if (lang != 0)</font><br><font face="Courier New, Courier, mono">{</font><br><font face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; const DWORD lcid = MAKELCID(lang, SORT_DEFAULT);</font><br><font face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; ret = ::SetThreadLocale(lcid) != 0;</font><br><font face="Courier New, Courier, mono">}</font><br></pre></td></tr></table><br></blockquote>After that I reload the menu and the command bars:<br><blockquote><table width="99%"><tr><td><pre class="BBcode"><br>m_MenuStandard.DestroyMenu();<br>m_MenuStandard.LoadMenu(IDR_MENUSTANDARDTYPE);<br>FixMenuAfterLoading(); // avoids removal of menu<br>UpdateMenu(); // updates the menu entries<br><br>int nTBNr = 0; // index of toolbar<br>for (int i = 0; i &lt; pCommandBars-&gt;GetCount(); i++)<br>{<br>&nbsp;&nbsp;&nbsp; CXTPToolBar* pToolBar = pCommandBars-&gt;GetAt(i);<br>&nbsp;&nbsp;&nbsp; if (pToolBar-&gt;IsBuiltIn())<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (pToolBar-&gt;GetType() != xtpBarTypeMenuBar)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pToolBar-&gt;LoadToolBar(s_toolbarInfo&#091;nTBNr&#093;.iToolbarID);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ++nTBNr;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; }&nbsp;&nbsp;&nbsp; <br>}<br></pre></td></tr></table><br></blockquote>That's all.<br>Bye<br>&nbsp;&nbsp; Holger<br><br>]]>
   </description>
   <pubDate>Mon, 25 Jun 2007 10:46:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7428&amp;PID=23916&amp;title=customize-disappears#23916</guid>
  </item> 
  <item>
   <title><![CDATA[&quot;Customize...&quot; disappears : Hi, How do you switch language?...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7428&amp;PID=23881&amp;title=customize-disappears#23881</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 7428<br /><strong>Posted:</strong> 22 June 2007 at 1:28pm<br /><br />Hi,<DIV>How do you switch language?</DIV>]]>
   </description>
   <pubDate>Fri, 22 Jun 2007 13:28:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7428&amp;PID=23881&amp;title=customize-disappears#23881</guid>
  </item> 
  <item>
   <title><![CDATA[&quot;Customize...&quot; disappears : Hi,in my application I have a...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7428&amp;PID=23874&amp;title=customize-disappears#23874</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1169">farr02</a><br /><strong>Subject:</strong> 7428<br /><strong>Posted:</strong> 22 June 2007 at 7:02am<br /><br />Hi,<br>in my application I have a funny problem with the "Customize..." field in my CommandBars. It disappears when switching the language (between german and english). Look at the following images to see what I mean:<br>german version:<br><div align="center"><img src="uploads/20070622_065807_CustomizeDE.jpg" height="84" width="377" border="0"><br><div align="left">english version:<br></div></div><div align="center"><img src="uploads/20070622_065926_CustomizeEN.jpg" height="83" width="384" border="0"><br><div align="left"><br>Has anyone a hint what goes wrong in my application? (I also checked the MultiLanguage sample but it didn't help.)<br><br>Best regards,<br>&nbsp;&nbsp; Holger Farr<br><br>BTW: I use CodeJock XTP 9.81 with Visual Studio 6.0.<br><br><br></div></div>]]>
   </description>
   <pubDate>Fri, 22 Jun 2007 07:02:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7428&amp;PID=23874&amp;title=customize-disappears#23874</guid>
  </item> 
 </channel>
</rss>