<?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 : Png loaded from a file</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Png loaded from a file]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 30 May 2026 16:25:25 +0000</pubDate>
  <lastBuildDate>Thu, 27 Mar 2008 00:39:25 +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=9962</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[Png loaded from a file : thanks it did worked ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9962&amp;PID=32615&amp;title=png-loaded-from-a-file#32615</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3627">himanshu</a><br /><strong>Subject:</strong> 9962<br /><strong>Posted:</strong> 27 March 2008 at 12:39am<br /><br />thanks<DIV>it did worked</DIV>]]>
   </description>
   <pubDate>Thu, 27 Mar 2008 00:39:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9962&amp;PID=32615&amp;title=png-loaded-from-a-file#32615</guid>
  </item> 
  <item>
   <title><![CDATA[Png loaded from a file : btw.... if image has alpha layer,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9962&amp;PID=32586&amp;title=png-loaded-from-a-file#32586</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 9962<br /><strong>Posted:</strong> 26 March 2008 at 5:17am<br /><br />btw.... if image has alpha layer, you have to set last parameter bAlpah = TRUE;]]>
   </description>
   <pubDate>Wed, 26 Mar 2008 05:17:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9962&amp;PID=32586&amp;title=png-loaded-from-a-file#32586</guid>
  </item> 
  <item>
   <title><![CDATA[Png loaded from a file :  to free resources better use  CBitmap...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9962&amp;PID=32585&amp;title=png-loaded-from-a-file#32585</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 9962<br /><strong>Posted:</strong> 26 March 2008 at 5:15am<br /><br /><DIV><DIV><FONT size=2>to free resources better use</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>CBitmap Bitmap; Bitmap.Attach(hBitmap);</FONT></DIV><DIV><FONT size=2>pCommandBars-&gt;GetImageManager()-&gt;SetIcons(&amp;Bitmap, uiGroupClipboard, _countof(uiGroupClipboard), CSize(16, 16));</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>Send it to support.codejock.com</FONT></DIV></DIV>]]>
   </description>
   <pubDate>Wed, 26 Mar 2008 05:15:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9962&amp;PID=32585&amp;title=png-loaded-from-a-file#32585</guid>
  </item> 
  <item>
   <title><![CDATA[Png loaded from a file : HI  I have loaded the png for...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9962&amp;PID=32583&amp;title=png-loaded-from-a-file#32583</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3627">himanshu</a><br /><strong>Subject:</strong> 9962<br /><strong>Posted:</strong> 26 March 2008 at 5:09am<br /><br />HI<DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>I have loaded the png for a button usiing following code in my project</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>HBITMAP hBitmap = CXTPImageManagerIcon::LoadBitmapFromFile(_T(</FONT><FONT color=#a31515 size=2>"E:\\res\\xyz2_16.png"</FONT><FONT size=2>) ); </FONT></DIV><DIV><FONT size=2>CBitmap* pBitmap = CBitmap::FromHandle(hBitmap);</FONT></DIV><DIV><FONT size=2>pCommandBars-&gt;GetImageManager()-&gt;SetIcons(*pBitmap, uiGroupClipboard, _countof(uiGroupClipboard), CSize(16, 16));</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>Now i have another application where i loaded the same png image by using different tool other than codejock.</FONT></DIV><DIV><FONT size=2>The two images look differently .The one which is loaded using codejock shows large differences with the original.</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>I am attaching the both images along with the original one.</FONT></DIV><DIV><FONT size=2>Could you suggest some way to improve the look of this png file closer to the original one.</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>I am getting error that only users with sufficient permission can upload?? But iIn recent time i was able to do the same.</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>Thanks</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>&nbsp;</DIV></FONT>]]>
   </description>
   <pubDate>Wed, 26 Mar 2008 05:09:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9962&amp;PID=32583&amp;title=png-loaded-from-a-file#32583</guid>
  </item> 
 </channel>
</rss>