<?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 : [BUG?] XTPControlGallery.cpp(362)</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : [BUG?] XTPControlGallery.cpp(362)]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 20 Apr 2026 16:11:06 +0000</pubDate>
  <lastBuildDate>Wed, 24 Aug 2011 08:26:49 +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=18834</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[[BUG?] XTPControlGallery.cpp(362) : Hi,Thanks, good suggestion.  ...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18834&amp;PID=66013&amp;title=bug-xtpcontrolgallery-cpp362#66013</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 18834<br /><strong>Posted:</strong> 24 August 2011 at 8:26am<br /><br /><span ="Apple-style-span" style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><div style=": rgb255, 255, 255; margin-left: 1px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; font-family: Verdana, Arial, Helvetica, sans-serif; color: rgb0, 0, 0; font-size: 12px; line-height: 1.4; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; -: n&#111;ne; ">Hi,<div><br></div><div>Thanks, good suggestion.</div></div></span>]]>
   </description>
   <pubDate>Wed, 24 Aug 2011 08:26:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18834&amp;PID=66013&amp;title=bug-xtpcontrolgallery-cpp362#66013</guid>
  </item> 
  <item>
   <title><![CDATA[[BUG?] XTPControlGallery.cpp(362) : XTP 15.1.2CString strCaption;if...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18834&amp;PID=65936&amp;title=bug-xtpcontrolgallery-cpp362#65936</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 18834<br /><strong>Posted:</strong> 17 August 2011 at 4:48am<br /><br />XTP 15.1.2<div></div><div>CString strCaption;</div>if (nId &gt; 0 &amp;&amp; strCaption.LoadString(nId))<div>{</div><div>&nbsp;&nbsp;&nbsp;&nbsp;pItem-&gt;SetCaption(strCaption);</div><div>&nbsp;</div><div>&nbsp;</div><div>What if pItem already has a caption? Is the above really correct? (Not to mention that you should always use your own XTPResourceManager()-&gt;LoadString().)</div><div>&nbsp;</div><div>I would suggest something like this:</div><div>&nbsp;</div><div>CString strCaption;</div><div>if (nId &gt; 0 &amp;&amp; <strong>pItem-&gt;GetCaption().GetLength() == 0 &amp;&amp;</strong> strCaption.LoadString(nId))<div>{</div><div>   &nbsp;&nbsp;&nbsp;&nbsp; pItem-&gt;SetCaption(strCaption);</div></div>]]>
   </description>
   <pubDate>Wed, 17 Aug 2011 04:48:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18834&amp;PID=65936&amp;title=bug-xtpcontrolgallery-cpp362#65936</guid>
  </item> 
 </channel>
</rss>