<?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 : Animated GIF in XAML not showing</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Animated GIF in XAML not showing]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 15 Apr 2026 03:55:45 +0000</pubDate>
  <lastBuildDate>Sat, 26 Nov 2016 07:06:14 +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=23155</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[Animated GIF in XAML not showing : Thanks! But why not load to memory...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23155&amp;PID=75375&amp;title=animated-gif-in-xaml-not-showing#75375</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3171">evoX</a><br /><strong>Subject:</strong> 23155<br /><strong>Posted:</strong> 26 November 2016 at 7:06am<br /><br />Thanks! But why not load to memory and display it in xaml? I think that this is a toolkit pro limitation, not Visual Studio, because PNG images also are custom resources and not a standard VS resource and PNGs are displayed in XAML.]]>
   </description>
   <pubDate>Sat, 26 Nov 2016 07:06:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23155&amp;PID=75375&amp;title=animated-gif-in-xaml-not-showing#75375</guid>
  </item> 
  <item>
   <title><![CDATA[Animated GIF in XAML not showing : Hello evoX,Visual Studio doesn&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23155&amp;PID=75300&amp;title=animated-gif-in-xaml-not-showing#75300</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9012">agontarenko</a><br /><strong>Subject:</strong> 23155<br /><strong>Posted:</strong> 09 November 2016 at 6:35am<br /><br />Hello evoX,<br><br>Visual Studio doesn't support gif as image resource.<br>You can add gif to resources, and when application will start, unpack gif file to tmp directory and set in XAML this path.<br>&lt;Image Source='file://TMP_DIR\Smiles\3.gif&gt;<br><br>Regards,<br>Gontarenko Artem<br>]]>
   </description>
   <pubDate>Wed, 09 Nov 2016 06:35:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23155&amp;PID=75300&amp;title=animated-gif-in-xaml-not-showing#75300</guid>
  </item> 
  <item>
   <title><![CDATA[Animated GIF in XAML not showing : Yes, a resource DLL, from where...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23155&amp;PID=75211&amp;title=animated-gif-in-xaml-not-showing#75211</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3171">evoX</a><br /><strong>Subject:</strong> 23155<br /><strong>Posted:</strong> 14 October 2016 at 10:44am<br /><br />Yes, a resource DLL, from where I load all the other images displayed in XAML. PNG and JPG images are displayed without any problem, only the GIF files don't work from DLL.]]>
   </description>
   <pubDate>Fri, 14 Oct 2016 10:44:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23155&amp;PID=75211&amp;title=animated-gif-in-xaml-not-showing#75211</guid>
  </item> 
  <item>
   <title><![CDATA[Animated GIF in XAML not showing : Oh, you mean that necessary picture...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23155&amp;PID=75209&amp;title=animated-gif-in-xaml-not-showing#75209</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23155<br /><strong>Posted:</strong> 13 October 2016 at 10:12am<br /><br />Oh, you mean that necessary picture is in some DLL..]]>
   </description>
   <pubDate>Thu, 13 Oct 2016 10:12:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23155&amp;PID=75209&amp;title=animated-gif-in-xaml-not-showing#75209</guid>
  </item> 
  <item>
   <title><![CDATA[Animated GIF in XAML not showing : I have seen the sample, from a...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23155&amp;PID=75208&amp;title=animated-gif-in-xaml-not-showing#75208</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3171">evoX</a><br /><strong>Subject:</strong> 23155<br /><strong>Posted:</strong> 13 October 2016 at 10:05am<br /><br />I have seen the sample, from a stand alone .GIF file it works, but loading it from resource does not work :(]]>
   </description>
   <pubDate>Thu, 13 Oct 2016 10:05:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23155&amp;PID=75208&amp;title=animated-gif-in-xaml-not-showing#75208</guid>
  </item> 
  <item>
   <title><![CDATA[Animated GIF in XAML not showing : Hello evoX,You can explore our...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23155&amp;PID=75199&amp;title=animated-gif-in-xaml-not-showing#75199</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23155<br /><strong>Posted:</strong> 12 October 2016 at 4:28am<br /><br />Hello evoX,<br><br>You can explore our sample Samples\Utilities\MarkupPad, &nbsp;load file&nbsp;Markups\Smiles.xaml<br><table width="99%"><tr><td><pre class="BBcode">&lt;Image Source='file://Markups\Smiles\3.gif'<br></pre></td></tr></table><br>Regards,<br>&nbsp;Oleksandr Lebed]]>
   </description>
   <pubDate>Wed, 12 Oct 2016 04:28:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23155&amp;PID=75199&amp;title=animated-gif-in-xaml-not-showing#75199</guid>
  </item> 
  <item>
   <title><![CDATA[Animated GIF in XAML not showing : I have this code to load an animated...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23155&amp;PID=75184&amp;title=animated-gif-in-xaml-not-showing#75184</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3171">evoX</a><br /><strong>Subject:</strong> 23155<br /><strong>Posted:</strong> 06 October 2016 at 6:03am<br /><br />I have this code to load an animated GIF from resource<div><br></div><div><div>HBITMAP hbm = NULL;</div><div>CBitmap bmpLogo;</div><div>BOOL bAlpha = TRUE;</div><div><br></div><div>UINT nImageID = 1;</div><div>hbm = CXTPImageManagerIcon::LoadBitmapFromResource(m_hResourceModule, MAKEINTRESOURCE(IDR_GIF_ROTATING_GEAR), &amp;bAlpha);</div><div><br></div><div>bmpLogo.Attach(hbm);</div><div>XTPImageManager()-&gt;RemoveIcon(nImageID);<span ="apple-tab-span"="" style="white-space:pre">	</span></div><div>XTPImageManager()-&gt;SetIcons(bmpLogo, &amp;nImageID, 1, CSize(0, 0), xtpImageNormal, TRUE);</div></div><div><br></div><div>In resource the image is added as a custom resource called GIF</div><div><br></div><div>The Image ID is set correctly in XAML, but the GIF is not displayed. I also have tried to set the CSize to 64,64 as the GIF size, but the same result.&nbsp;</div>]]>
   </description>
   <pubDate>Thu, 06 Oct 2016 06:03:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23155&amp;PID=75184&amp;title=animated-gif-in-xaml-not-showing#75184</guid>
  </item> 
 </channel>
</rss>