<?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 : Controls are cumbersome</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : Controls are cumbersome]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 12 May 2026 21:03:09 +0000</pubDate>
  <lastBuildDate>Sun, 17 Aug 2008 14:03:13 +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=11479</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[Controls are cumbersome : Yeah. I spent weeks on my ribbon,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11479&amp;PID=39949&amp;title=controls-are-cumbersome#39949</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 11479<br /><strong>Posted:</strong> 17 August 2008 at 2:03pm<br /><br />Yeah. I spent weeks on my ribbon, and now my competitors will be able to do the same in a couple of minutes. Grrr! :)]]>
   </description>
   <pubDate>Sun, 17 Aug 2008 14:03:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11479&amp;PID=39949&amp;title=controls-are-cumbersome#39949</guid>
  </item> 
  <item>
   <title><![CDATA[Controls are cumbersome :     znakeeye wrote:Don&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11479&amp;PID=39678&amp;title=controls-are-cumbersome#39678</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1755">ABuenger</a><br /><strong>Subject:</strong> 11479<br /><strong>Posted:</strong> 10 August 2008 at 10:11am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by znakeeye" alt="Originally posted by znakeeye" style="vertical-align: text-bottom;" /> <strong>znakeeye wrote:</strong><br /><br /><div>Don't waste your time writing wrappers for nothing ;)</div><div>&nbsp;</div><div>CString str((LPCTSTR)IDS_STRING);<br></td></tr></table><br><br>I think this constructor is pretty ugly. I never understood why there is no CString(UINT nID) constructor. That would even make CString(0) and CString(NULL) ambigoius which I think would be a good thing because both are not valid.<br><br><b>CString::CString(LPCTSTR lpsz)<br>{<br>&nbsp;&nbsp;&nbsp; Init();<br>&nbsp;&nbsp;&nbsp; if (lpsz != NULL &amp;&amp; HIWORD(lpsz) == NULL)<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; UINT nID = LOWORD((DWORD)lpsz);<br>&nbsp;&nbsp;&nbsp; }<br>}</b><br><br></div><div><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by znakeeye" alt="Originally posted by znakeeye" style="vertical-align: text-bottom;" /> <strong>znakeeye wrote:</strong><br /><br /></div><div>or, my personal favorite:</div>foo(_S(IDS_STRING)); // Simple code :)<br></td></tr></table><br><br>I like that one <img src="http://forum.codejock.com/smileys/smiley1.gif" border="0" align="absmiddle"> _T() and _S() <img src="http://forum.codejock.com/smileys/smiley20.gif" border="0" align="absmiddle"><br><br>But the primary reason for my post was that the XTP controls are cumbersome. I don't understand why Codejock doesn't get the basics done but instead works on a useless Ribbon designer.<br><br>]]>
   </description>
   <pubDate>Sun, 10 Aug 2008 10:11:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11479&amp;PID=39678&amp;title=controls-are-cumbersome#39678</guid>
  </item> 
  <item>
   <title><![CDATA[Controls are cumbersome : Don&amp;#039;t waste your time writing...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11479&amp;PID=39676&amp;title=controls-are-cumbersome#39676</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 11479<br /><strong>Posted:</strong> 10 August 2008 at 6:26am<br /><br /><DIV>Don't waste your time writing wrappers for nothing ;)</DIV><DIV>&nbsp;</DIV><DIV>CString str((LPCTSTR)IDS_STRING);</DIV><DIV>&nbsp;</DIV><DIV>or, my personal favorite:</DIV><DIV>inline CString _S(UINT nID)</DIV><DIV>{</DIV><DIV>#ifdef _DEBUG</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp; CString str;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp; ASSERT(str.LoadString(nID));</DIV><DIV>#else</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp; return CString((LPCTSTR)nID);</DIV><DIV>#endif</DIV><DIV>}</DIV><DIV>&nbsp;</DIV><DIV>foo(_S(IDS_STRING)); // Simple code :)</DIV>]]>
   </description>
   <pubDate>Sun, 10 Aug 2008 06:26:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11479&amp;PID=39676&amp;title=controls-are-cumbersome#39676</guid>
  </item> 
  <item>
   <title><![CDATA[Controls are cumbersome :    ABuenger wrote:And last but...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11479&amp;PID=38559&amp;title=controls-are-cumbersome#38559</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1755">ABuenger</a><br /><strong>Subject:</strong> 11479<br /><strong>Posted:</strong> 18 July 2008 at 7:10am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by ABuenger" alt="Originally posted by ABuenger" style="vertical-align: text-bottom;" /> <strong>ABuenger wrote:</strong><br /><br /><br>And last but not least could you please a SetWindowText(UINT nID); method which takes a string id?<br></td></tr></table><br><br>Wrote a little wrapper:<br><br><b>class CStringResource : public CString<br>{<br>public:<br>&nbsp;&nbsp; CStringResource(UINT nID)<br>&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; VERIFY(LoadString(nID));<br>&nbsp;&nbsp; }<br>};<br></b><br><br>]]>
   </description>
   <pubDate>Fri, 18 Jul 2008 07:10:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11479&amp;PID=38559&amp;title=controls-are-cumbersome#38559</guid>
  </item> 
  <item>
   <title><![CDATA[Controls are cumbersome : I&amp;#039;ve changed some CButton...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11479&amp;PID=38526&amp;title=controls-are-cumbersome#38526</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1755">ABuenger</a><br /><strong>Subject:</strong> 11479<br /><strong>Posted:</strong> 17 July 2008 at 4:39pm<br /><br />I've changed some CButton to CXTPButton to get the Office 2007 look, but for each button the theme has be set at runtime, that's horrible. I would expect a CXTPDialog class with a SetTheme() method which then sets the theme of all child controls.<br><br>Also there is no CXTPListBox and CXTPComboBox. I would expect all common controls with the different themes.<br><br>And last but not least could you please a SetWindowText(UINT nID); method which takes a string id?<br><br>Thanks<br><br>]]>
   </description>
   <pubDate>Thu, 17 Jul 2008 16:39:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11479&amp;PID=38526&amp;title=controls-are-cumbersome#38526</guid>
  </item> 
 </channel>
</rss>