<?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 : Program Icon</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Skin Framework : Program Icon]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 05 Apr 2026 14:06:18 +0000</pubDate>
  <lastBuildDate>Mon, 10 Sep 2007 08:19:34 +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=7940</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[Program Icon : Hello,I&amp;#039;ve changeSetIcon(hIcon,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7940&amp;PID=25673&amp;title=program-icon#25673</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=233">jimmy</a><br /><strong>Subject:</strong> 7940<br /><strong>Posted:</strong> 10 September 2007 at 8:19am<br /><br />Hello,<br><br>I've change<br>SetIcon(hIcon, TRUE); to SetIcon(hIcon, FALSE);<br>And now it work.<br>I use iTune skinns from CodeJock samples.<br><br>&nbsp; Jimmy<br><br>]]>
   </description>
   <pubDate>Mon, 10 Sep 2007 08:19:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7940&amp;PID=25673&amp;title=program-icon#25673</guid>
  </item> 
  <item>
   <title><![CDATA[Program Icon : Can you also attach the skinning...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7940&amp;PID=25578&amp;title=program-icon#25578</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2110">Source</a><br /><strong>Subject:</strong> 7940<br /><strong>Posted:</strong> 05 September 2007 at 1:23pm<br /><br />Can you also attach the skinning file that you use ?<DIV>Thanks.</DIV>]]>
   </description>
   <pubDate>Wed, 05 Sep 2007 13:23:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7940&amp;PID=25578&amp;title=program-icon#25578</guid>
  </item> 
  <item>
   <title><![CDATA[Program Icon : Hi,  What code you use to set...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7940&amp;PID=25573&amp;title=program-icon#25573</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 7940<br /><strong>Posted:</strong> 05 September 2007 at 10:19am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>What code you use to set icon ?</DIV>]]>
   </description>
   <pubDate>Wed, 05 Sep 2007 10:19:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7940&amp;PID=25573&amp;title=program-icon#25573</guid>
  </item> 
  <item>
   <title><![CDATA[Program Icon : Hello,Using in dialog applicationCMyDialog::CMyDialog(){...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7940&amp;PID=25572&amp;title=program-icon#25572</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=233">jimmy</a><br /><strong>Subject:</strong> 7940<br /><strong>Posted:</strong> 05 September 2007 at 10:16am<br /><br />Hello,<br><br>Using in dialog application<br><br>CMyDialog::CMyDialog()<br>{<br>&nbsp;&nbsp;&nbsp; XTPSkinManager()-&gt;SetApplyOptions(xtpSkinApplyFrame | xtpSkinApplyColors | xtpSkinApplyMetrics);<br><br>&nbsp;&nbsp;&nbsp; CString strSkinFile;<br>&nbsp;&nbsp;&nbsp; strSkinFile = VaranCommon::TheProgrammInfo().m_strProgramPath;<br>&nbsp;&nbsp;&nbsp; strSkinFile += "Styles\\iTunes";<br>&nbsp;&nbsp;&nbsp; // if (Common::Path::IsFileExisting(strSkinFile))<br>&nbsp;&nbsp;&nbsp; if (XTPSkinManager()-&gt;LoadSkin(strSkinFile, "Normalitunes.INI"))<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; InitTheme(NULL, xtpThemeNativeWinXP);<br>}<br><br>void InitTheme(CXTPDockingPaneManager *pPaneManager, XTPPaintTheme Theme)<br>{<br>&nbsp;&nbsp;&nbsp; SetTheme(Theme, pPaneManager);<br>&nbsp;&nbsp;&nbsp; CXTPPopupBar::m_dMaxWidthDivisor = 0.9;<br><br>&nbsp;&nbsp;&nbsp; // m_pMTIClientWnd-&gt;GetPaintManager()-&gt;SetLayout(xtpTabLayoutAutoSize);<br><br>&nbsp;&nbsp;&nbsp; XTP_COMMANDBARS_ICONSINFO* pIconsInfo = XTPPaintManager()-&gt;GetIconsInfo();<br>&nbsp;&nbsp;&nbsp; pIconsInfo-&gt;bUseDisabledIcons = FALSE;<br>&nbsp;&nbsp;&nbsp; pIconsInfo-&gt;bIconsWithShadow = TRUE;<br>&nbsp;&nbsp;&nbsp; pIconsInfo-&gt;bUseFadedIcons = TRUE;<br><br>}<br><br>static void SetTheme(XTPPaintTheme Theme, CXTPDockingPaneManager *pPaneManager)<br>{<br>&nbsp;&nbsp;&nbsp; switch(Theme)<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; case xtpThemeOfficeXP:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; // Office XP theme.<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CXTPPaintManager::SetTheme(xtpThemeOfficeXP);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (pPaneManager)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pPaneManager-&gt;SetTheme(xtpPaneThemeOffice);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; break;<br>&nbsp;&nbsp;&nbsp; case xtpThemeOffice2000:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; // Office 2000 theme.<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CXTPPaintManager::SetTheme(xtpThemeOffice2000);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (pPaneManager)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pPaneManager-&gt;SetTheme(xtpPaneThemeDefault);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; break;<br>&nbsp;&nbsp;&nbsp; case xtpThemeOffice2003:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; // Office 2003 theme.<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CXTPPaintManager::SetTheme(xtpThemeOffice2003);&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (pPaneManager)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pPaneManager-&gt;SetTheme(xtpPaneThemeOffice2003);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; break;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; // case xtpThemeNativeWinXP:&nbsp;&nbsp;&nbsp; // Windows XP themes support.<br>&nbsp;&nbsp;&nbsp; default:<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CXTPPaintManager::SetTheme(xtpThemeNativeWinXP);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (pPaneManager)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pPaneManager-&gt;SetTheme(xtpPaneThemeNativeWinXP);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; break;<br>&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; if (pPaneManager)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pPaneManager-&gt;RedrawPanes();<br>}<br><br>if skinning file (or directory) is NOT available, the dialog draw correct icon.<br>But if i use skinning, there was a wrong icon.<br><br>&nbsp;&nbsp;&nbsp; Jimmy<br><img src="uploads/20070905_101546_CJ_Skin_Program.JPG" height="121" width="165" border="0"><br>]]>
   </description>
   <pubDate>Wed, 05 Sep 2007 10:16:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7940&amp;PID=25572&amp;title=program-icon#25572</guid>
  </item> 
 </channel>
</rss>