<?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 : Different schemes</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Skin Framework : Different schemes]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 03 Apr 2026 17:26:23 +0000</pubDate>
  <lastBuildDate>Mon, 05 Jan 2009 13:05:59 +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=12922</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[Different schemes : Hello Oleg, what can I do to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12922&amp;PID=44155&amp;title=different-schemes#44155</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1680">Moritz</a><br /><strong>Subject:</strong> 12922<br /><strong>Posted:</strong> 05 January 2009 at 1:05pm<br /><br /><P>Hello Oleg,</P><P>what can I do to enable CXTButton to show the new theme? What kind of sense makes such a function if it is not fully supported?</P><P>Greetings, Moritz Leutenecker</P>]]>
   </description>
   <pubDate>Mon, 05 Jan 2009 13:05:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12922&amp;PID=44155&amp;title=different-schemes#44155</guid>
  </item> 
  <item>
   <title><![CDATA[Different schemes : Hi, Sorry only CButton can catch...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12922&amp;PID=43667&amp;title=different-schemes#43667</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 12922<br /><strong>Posted:</strong> 15 December 2008 at 1:45am<br /><br />Hi,<DIV>Sorry only CButton can catch new skin&nbsp; :( CXTPButton can't</DIV>]]>
   </description>
   <pubDate>Mon, 15 Dec 2008 01:45:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12922&amp;PID=43667&amp;title=different-schemes#43667</guid>
  </item> 
  <item>
   <title><![CDATA[Different schemes : In your sample &amp;#039;Skin Controls&amp;#039;...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12922&amp;PID=43656&amp;title=different-schemes#43656</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3776">gmail</a><br /><strong>Subject:</strong> 12922<br /><strong>Posted:</strong> 14 December 2008 at 12:24pm<br /><br />In your sample 'Skin Controls' (DialogSample.cpp file) there is a section which states:<br><br>CDialog::OnInitDialog();<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; CXTPSkinManager* pSkinManager = XTPSkinManager();<br><br>&nbsp;&nbsp;&nbsp; CXTPSkinManagerSchema* pSchema = pSkinManager-&gt;CreateSchema(m_strStylesPath + _T("WinXP.Luna.cjstyles"), _T("NormalHomestead.ini"));<br>&nbsp;&nbsp;&nbsp; pSkinManager-&gt;SetWindowTheme(GetSafeHwnd(), pSchema);<br>&nbsp;&nbsp;&nbsp; CMDTARGET_RELEASE(pSchema);<br><br>&nbsp;&nbsp;&nbsp; pSchema = pSkinManager-&gt;CreateSchema(m_strStylesPath + _T("WinXP.Royale.cjstyles"), _T("NormalRoyale.ini"));<br>&nbsp;&nbsp;&nbsp; pSkinManager-&gt;SetWindowTheme(GetDlgItem(IDC_BUTTON_BLUE)-&gt;GetSafeHwnd(), pSchema);<br>&nbsp;&nbsp;&nbsp; CMDTARGET_RELEASE(pSchema);<br><br>&nbsp;&nbsp;&nbsp; pSchema = pSkinManager-&gt;CreateSchema(m_strStylesPath + _T("Vista.cjstyles"), _T("NormalBlue.ini"));<br>&nbsp;&nbsp;&nbsp; pSkinManager-&gt;SetWindowTheme(button.GetSafeHwnd(), pSchema);<br>&nbsp;&nbsp;&nbsp; CMDTARGET_RELEASE(pSchema);<br>}<br><br>If we replace GetDlgItem(IDC_BUTTON_BLUE) with b_Button (CXTPButton variable), those schemes doesn't work anymore (it loads application default theme)? How can we overcome this so every CXTPButton has different scheme (like your example with ordinary CButton)? Thanks for replying...]]>
   </description>
   <pubDate>Sun, 14 Dec 2008 12:24:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12922&amp;PID=43656&amp;title=different-schemes#43656</guid>
  </item> 
 </channel>
</rss>