<?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 : Failed to make sense of CXTPVisualStudio2008Theme!</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Failed to make sense of CXTPVisualStudio2008Theme!]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 13:37:59 +0000</pubDate>
  <lastBuildDate>Tue, 20 May 2008 00:50:26 +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=10667</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[Failed to make sense of CXTPVisualStudio2008Theme! : Hi,  Add line XTPPaintManager()-&amp;gt;m_bThemedStatusBar...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10667&amp;PID=35444&amp;title=failed-to-make-sense-of-cxtpvisualstudio2008theme#35444</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 10667<br /><strong>Posted:</strong> 20 May 2008 at 12:50am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Add line</DIV><DIV>XTPPaintManager()-&gt;m_bThemedStatusBar = TRUE;</DIV><DIV>to have WInXP themed statusbar.</DIV>]]>
   </description>
   <pubDate>Tue, 20 May 2008 00:50:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10667&amp;PID=35444&amp;title=failed-to-make-sense-of-cxtpvisualstudio2008theme#35444</guid>
  </item> 
  <item>
   <title><![CDATA[Failed to make sense of CXTPVisualStudio2008Theme! : Thanks Oleg, but an overview of...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10667&amp;PID=35410&amp;title=failed-to-make-sense-of-cxtpvisualstudio2008theme#35410</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=421">calvi</a><br /><strong>Subject:</strong> 10667<br /><strong>Posted:</strong> 19 May 2008 at 9:41am<br /><br /><P>Thanks Oleg, but an overview of how themes and custom themes actually work would be much more useful.&nbsp; The samples give no insight as to how the classes interact with each other and no explanation as to which components are affected by XTPPaintManager::SetTheme and which have independent SetTheme methods, or why they have them.</P><P>As it is, when xtpThemeVisualStudio2008 is used in the GUI_VisualStudio sample, the statusbar appearance is completely wrong, and the document tabs are not completely right.&nbsp; For example, the active tab is enlarged in the real Visual Studio.&nbsp; </P><P>CXTPStatusBar doesn't have a documented SetTheme member, so how is one supposed to choose its theme?</P>]]>
   </description>
   <pubDate>Mon, 19 May 2008 09:41:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10667&amp;PID=35410&amp;title=failed-to-make-sense-of-cxtpvisualstudio2008theme#35410</guid>
  </item> 
  <item>
   <title><![CDATA[Failed to make sense of CXTPVisualStudio2008Theme! : Hi, Check our GUI_VisualStudio...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10667&amp;PID=35393&amp;title=failed-to-make-sense-of-cxtpvisualstudio2008theme#35393</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 10667<br /><strong>Posted:</strong> 19 May 2008 at 1:18am<br /><br />Hi,<DIV>Check our GUI_VisualStudio sample</DIV>]]>
   </description>
   <pubDate>Mon, 19 May 2008 01:18:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10667&amp;PID=35393&amp;title=failed-to-make-sense-of-cxtpvisualstudio2008theme#35393</guid>
  </item> 
  <item>
   <title><![CDATA[Failed to make sense of CXTPVisualStudio2008Theme! : I wanted to find out how to use...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10667&amp;PID=35375&amp;title=failed-to-make-sense-of-cxtpvisualstudio2008theme#35375</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=421">calvi</a><br /><strong>Subject:</strong> 10667<br /><strong>Posted:</strong> 18 May 2008 at 1:06pm<br /><br /><P>I wanted to find out how to use the Visual Studio 2008 custom theme, so I started with the Users' Guide, drew a blank, so&nbsp;opened the Online Help.&nbsp; Nothing in the contents or the index, so I searched for "theme" and got 500 hits, which was unmanageable, so&nbsp;then tried "custom theme", with an equally unmanageable 183 hits.</P><P>Next, I grepped the samples tree and found a likely candidate in Samples\CommandBars\CustomThemes, and discovered that I needed to make the following call:</P><P><FONT face="Courier New, Courier, mono">CXTPPaintManager::SetCustomTheme(new CXTPVisualStudio2008Theme());</FONT></P><P>So far so good, but the appearance of the resulting status bar is nothing like in VS 2008.&nbsp; The sample does not use tabbed docking panes, but when I create some using CXTPDockingPaneManager, they also look nothing like VS 2008.&nbsp; Where could I find out how to apply the same custom theme to status bars and the pane manager?&nbsp; There are 74 samples, so I tried to narrow down the search by grepping SetCustomTheme, which occurs in 14 of them.&nbsp; DockingContainers looks a possibility, but it's making the following call:</P><P><FONT face="Courier New, Courier, mono">XTPPaintManager()-&gt;SetCustomTheme(new CComandBarsPaintManager());</FONT></P><P>No indication is given of why it's doing it differently from the CustomThemes sample.&nbsp; However, I spotted this line:</P><P><FONT face="Courier New, Courier, mono">m_paneManager.SetCustomTheme(new CDockingPanePaintManager());</FONT></P><P>but it turns out that that uses a different class of theme, which hasn't got a subclass for VS 2008.</P><P>At this point, I was totally confused about themes.&nbsp; The complete lack of documentation and helpful comments in the sample files meant that I would have to plough through hundreds of lines of source code to find out how they worked, and I don't have the time.</P><P>Please, please, please CodeJock, write some proper documentation, and save your time having to explain the same things over and over again, and your customers time having to make sense out of undocumented source code.&nbsp; It's such a waste!</P>]]>
   </description>
   <pubDate>Sun, 18 May 2008 13:06:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10667&amp;PID=35375&amp;title=failed-to-make-sense-of-cxtpvisualstudio2008theme#35375</guid>
  </item> 
 </channel>
</rss>