<?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 : Why assume my instance?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Why assume my instance?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 12 Jun 2026 23:28:07 +0000</pubDate>
  <lastBuildDate>Fri, 01 Feb 2008 15:27:08 +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=9468</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[Why assume my instance? : sorry, skipped &amp;#034;animation&amp;#034;...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9468&amp;PID=30736&amp;title=why-assume-my-instance#30736</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 9468<br /><strong>Posted:</strong> 01 February 2008 at 3:27pm<br /><br />sorry, skipped "animation" word.<DIV>&nbsp;</DIV><DIV>I see 2 solutions - </DIV><DIV>&nbsp;</DIV><DIV>1. CXTTray load icons from hInstance = AfxGetResourceHandle(); so if you use your dll as primary resource call AfxSetResourceHandle(hYourDll); and CXTTray will load icons from dll.</DIV><DIV>&nbsp;</DIV><DIV>or</DIV><DIV>&nbsp;</DIV><DIV>2. make class derived from CXTTrayIcon and add icons to m_arTrayIcons collection. see sources.</DIV>]]>
   </description>
   <pubDate>Fri, 01 Feb 2008 15:27:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9468&amp;PID=30736&amp;title=why-assume-my-instance#30736</guid>
  </item> 
  <item>
   <title><![CDATA[Why assume my instance? : So, like, how do I animate with...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9468&amp;PID=30726&amp;title=why-assume-my-instance#30726</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3714">scruzer</a><br /><strong>Subject:</strong> 9468<br /><strong>Posted:</strong> 01 February 2008 at 2:07am<br /><br />So, like, how do I animate with a single HICON?]]>
   </description>
   <pubDate>Fri, 01 Feb 2008 02:07:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9468&amp;PID=30726&amp;title=why-assume-my-instance#30726</guid>
  </item> 
  <item>
   <title><![CDATA[Why assume my instance? : Hi, Here method you need: CXTTrayIcon::SetIcon(HICON...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9468&amp;PID=30719&amp;title=why-assume-my-instance#30719</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 9468<br /><strong>Posted:</strong> 01 February 2008 at 1:39am<br /><br />Hi,<DIV>Here method you need:</DIV><DIV>CXTTrayIcon::SetIcon(HICON hIcon)<BR></DIV>]]>
   </description>
   <pubDate>Fri, 01 Feb 2008 01:39:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9468&amp;PID=30719&amp;title=why-assume-my-instance#30719</guid>
  </item> 
  <item>
   <title><![CDATA[Why assume my instance? : On my first attempt to use the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9468&amp;PID=30718&amp;title=why-assume-my-instance#30718</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3714">scruzer</a><br /><strong>Subject:</strong> 9468<br /><strong>Posted:</strong> 01 February 2008 at 12:08am<br /><br />On my first attempt to use the toolkit, I ran into a problem immediately.<br><br>I decided to use the CXTTrayIcon class.&nbsp; Upon attempting to use the animation support -- I found that I must submit the icon's by ID. ONLY.<br><br>In my world, I make branded versions of my software.&nbsp; All of my branded resources live in a dll.<br><br>I guess, I just want to say -- please don't write API's that always assume "this module" as the resource source....<br><br>Or provide a way to override such things without updating the source....&nbsp; or... something easy.<br><br>Thanks<br>-p<br>]]>
   </description>
   <pubDate>Fri, 01 Feb 2008 00:08:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9468&amp;PID=30718&amp;title=why-assume-my-instance#30718</guid>
  </item> 
 </channel>
</rss>