<?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 : Small fixes for correct resource loading</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Small fixes for correct resource loading]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 10 Jun 2026 18:44:38 +0000</pubDate>
  <lastBuildDate>Fri, 06 Feb 2009 08:37:42 +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=13313</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[Small fixes for correct resource loading : Hi,  Thanks. ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13313&amp;PID=45179&amp;title=small-fixes-for-correct-resource-loading#45179</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 13313<br /><strong>Posted:</strong> 06 February 2009 at 8:37am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Thanks.</DIV>]]>
   </description>
   <pubDate>Fri, 06 Feb 2009 08:37:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13313&amp;PID=45179&amp;title=small-fixes-for-correct-resource-loading#45179</guid>
  </item> 
  <item>
   <title><![CDATA[Small fixes for correct resource loading : BugFix: XTPResourceManager-&amp;gt;SetResourceHandle()...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13313&amp;PID=45075&amp;title=small-fixes-for-correct-resource-loading#45075</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4857">sharky</a><br /><strong>Subject:</strong> 13313<br /><strong>Posted:</strong> 02 February 2009 at 12:11pm<br /><br /><P>BugFix:&nbsp; XTPResourceManager-&gt;SetResourceHandle() does not affect on some internal functions related to resources in XTToolKitPro.</P><DIV>XTToolkitPro 12.0.1 (may be it corrected in&nbsp;newer version. If not, please review this code)</DIV><DIV>&nbsp;</DIV><DIV>void CXTEditListBox::SetListEditStyle(UINT nTitle, DWORD dwLStyle/*= LBS_XT_DEFAULT*/)<BR>{<BR>&nbsp;CString string;<BR>&nbsp;//Fix<BR>&nbsp;VERIFY(string.LoadString(XTPResourceManager()-&gt;GetResourceHandle(),nTitle));</DIV><DIV>&nbsp;//VERIFY(string.LoadString(nTitle));<BR>&nbsp;SetListEditStyle(string, dwLStyle);<BR>}</DIV><DIV>&nbsp;</DIV><DIV>and</DIV><DIV>&nbsp;</DIV><DIV>void CXTPTaskDialogClient::CreateIcons()<BR>{<BR>&nbsp;// create small icon.<BR>&nbsp;SAFE_DELETE_HICON(m_hIconFooter);<BR>&nbsp;m_hIconFooter = CreateIcon(m_pConfig-&gt;hFooterIcon, m_pConfig-&gt;pszFooterIcon, m_sizeIconFooter, IsFooterIconHandleUsed());</DIV><DIV>&nbsp;// create large icon.<BR>&nbsp;SAFE_DELETE_HICON(m_hIconMain);<BR>&nbsp;m_hIconMain = CreateIcon(m_pConfig-&gt;hMainIcon, m_pConfig-&gt;pszMainIcon, m_sizeIconMain, IsMainIconHandleUsed());</DIV><DIV>&nbsp;if (IsLinkButtonsUsed() &amp;&amp; IsLinkButtonsIconVisible() &amp;&amp; m_pIconLinkGlyph == 0)<BR>&nbsp;{<BR>&nbsp;&nbsp;m_pIconLinkGlyph = new CXTPImageManagerIcon(0, 20, 20);</DIV><DIV>&nbsp;&nbsp;BOOL bRTLLayout = (m_pConfig-&gt;dwFlags &amp; TDF_RTL_LAYOUT);</DIV><DIV>&nbsp;&nbsp;CXTPImageManagerIconHandle hIconGlyph;<BR>&nbsp;&nbsp;CXTPImageManagerIconHandle hIconGlyphHot;</DIV><DIV>// correct loading &#1091;&#1082;&#1072;&#1079;&#1072;&#1085;&#1080;&#1077; &#1085;&#1072; &#1093;&#1101;&#1085;&#1076;&#1083; &#1091;&#1087;&#1088;&#1072;&#1074;&#1083;&#1103;&#1077;&#1084;&#1099;&#1081; &#1090;&#1091;&#1083;&#1082;&#1080;&#1090;&#1086;&#1084;</DIV><DIV>&nbsp;&nbsp;HBITMAP hBitmap = (HBITMAP)CXTPImageManagerIcon::LoadAlphaBitmap(XTPResourceManager()-&gt;GetResourceHandle(), MAKEINTRESOURCE(XTP_IDB_GLYPH));</DIV><DIV>//&nbsp;&nbsp;HBITMAP hBitmap = (HBITMAP)CXTPImageManagerIcon::LoadAlphaBitmap(XTP_IDB_GLYPH);<BR><BR>&nbsp;&nbsp;if (bRTLLayout)<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;hIconGlyph = CXTPImageManagerIcon::InvertAlphaBitmap(hBitmap);<BR>&nbsp;&nbsp;&nbsp;DeleteObject(hBitmap);<BR>&nbsp;&nbsp;}<BR>&nbsp;&nbsp;else<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;hIconGlyph = hBitmap;<BR>&nbsp;&nbsp;}</DIV><DIV>// Correct loading</DIV><DIV>&nbsp;&nbsp;hBitmap = (HBITMAP)CXTPImageManagerIcon::LoadAlphaBitmap(XTPResourceManager()-&gt;GetResourceHandle(), MAKEINTRESOURCE(XTP_IDB_GLYPH_HOT));</DIV><DIV>//&nbsp;&nbsp;hBitmap = (HBITMAP)CXTPImageManagerIcon::LoadAlphaBitmap(XTP_IDB_GLYPH_HOT);<BR>&nbsp;&nbsp;if (bRTLLayout)<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;hIconGlyphHot = CXTPImageManagerIcon::InvertAlphaBitmap(hBitmap);<BR>&nbsp;&nbsp;&nbsp;DeleteObject(hBitmap);<BR>&nbsp;&nbsp;}<BR>&nbsp;&nbsp;else<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;hIconGlyphHot = hBitmap;<BR>&nbsp;&nbsp;}</DIV><DIV>&nbsp;&nbsp;m_pIconLinkGlyph-&gt;SetIcon(hIconGlyph);<BR>&nbsp;&nbsp;m_pIconLinkGlyph-&gt;SetHotIcon(hIconGlyphHot);<BR>&nbsp;}<BR>}<BR></DIV>]]>
   </description>
   <pubDate>Mon, 02 Feb 2009 12:11:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13313&amp;PID=45075&amp;title=small-fixes-for-correct-resource-loading#45075</guid>
  </item> 
 </channel>
</rss>