<?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 : Skin and CXTPToolbar in a dialog</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Skin and CXTPToolbar in a dialog]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 00:19:23 +0000</pubDate>
  <lastBuildDate>Fri, 13 Jul 2007 09:03:44 +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=6694</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[Skin and CXTPToolbar in a dialog : Resolved now, using a custom CXTPReBarPaintManager...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6694&amp;PID=24456&amp;title=skin-and-cxtptoolbar-in-a-dialog#24456</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=87">zrethy</a><br /><strong>Subject:</strong> 6694<br /><strong>Posted:</strong> 13 July 2007 at 9:03am<br /><br />Resolved now, using a custom CXTPReBarPaintManager object as the theme]]>
   </description>
   <pubDate>Fri, 13 Jul 2007 09:03:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6694&amp;PID=24456&amp;title=skin-and-cxtptoolbar-in-a-dialog#24456</guid>
  </item> 
  <item>
   <title><![CDATA[Skin and CXTPToolbar in a dialog : I have a similar problem (although...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6694&amp;PID=24401&amp;title=skin-and-cxtptoolbar-in-a-dialog#24401</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=87">zrethy</a><br /><strong>Subject:</strong> 6694<br /><strong>Posted:</strong> 11 July 2007 at 11:41am<br /><br />I have a similar problem (although using an older version of Suite Pro, v9.5.1)<br><br>&gt;XTPPaintManager()-&gt;SetTheme(xtpThemeNativeWinXP);<br>I did, but some of the toolbars aren't shown with the 3d look I'm expecting (I mean the gradient, metallic background for menus that is default on Vista, see e.g. Notepad). I'm usint CXTPToolBar and CXTPMenubar, the top toolbar and the menu have a plain lightblue colour instead of the expected one. I also have some toolbars on docking panes, that are themed correctly if they're at the top, but not if they're at the bottom.<br><br>Thanks in advance<br><br>]]>
   </description>
   <pubDate>Wed, 11 Jul 2007 11:41:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6694&amp;PID=24401&amp;title=skin-and-cxtptoolbar-in-a-dialog#24401</guid>
  </item> 
  <item>
   <title><![CDATA[Skin and CXTPToolbar in a dialog : My problem is resolved.  I derive...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6694&amp;PID=21349&amp;title=skin-and-cxtptoolbar-in-a-dialog#21349</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1302">Dominique</a><br /><strong>Subject:</strong> 6694<br /><strong>Posted:</strong> 22 March 2007 at 5:45am<br /><br />My problem is resolved.<DIV>&nbsp;</DIV><DIV>I derive CSkinControlsDlg&nbsp;from&nbsp;CXTPDialog and i call InitCommandBars() in OnInitdialog and it works!!! <img src="https://forum.codejock.com/smileys/smiley1.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 22 Mar 2007 05:45:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6694&amp;PID=21349&amp;title=skin-and-cxtptoolbar-in-a-dialog#21349</guid>
  </item> 
  <item>
   <title><![CDATA[Skin and CXTPToolbar in a dialog :      If i put this line in...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6694&amp;PID=21348&amp;title=skin-and-cxtptoolbar-in-a-dialog#21348</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1302">Dominique</a><br /><strong>Subject:</strong> 6694<br /><strong>Posted:</strong> 22 March 2007 at 5:07am<br /><br /><DIV></DIV><DIV></DIV><DIV><DIV></DIV><DIV></DIV><DIV>If i put this line in the constructor of CSkinControlsDlg just before calling XTPSkinManager()-&gt;SetApplyOptions, nothing changes.</DIV><DIV>&nbsp;</DIV><DIV>If i put this line in the constructor of CSkinControlsDlg just after XTPSkinManager()-&gt;LoadSkin, the toolbar is drawn black.</DIV><DIV>&nbsp;</DIV><DIV><img src="https://forum.codejock.com/uploads/20070322_050637_skin1.JPG" border="0"></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV></DIV><DIV></DIV>]]>
   </description>
   <pubDate>Thu, 22 Mar 2007 05:07:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6694&amp;PID=21348&amp;title=skin-and-cxtptoolbar-in-a-dialog#21348</guid>
  </item> 
  <item>
   <title><![CDATA[Skin and CXTPToolbar in a dialog : hI, you have to set theme  ...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6694&amp;PID=21337&amp;title=skin-and-cxtptoolbar-in-a-dialog#21337</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6694<br /><strong>Posted:</strong> 22 March 2007 at 2:06am<br /><br />hI,<DIV>you have to set theme</DIV><DIV>&nbsp;</DIV><DIV>XTPPaintManager()-&gt;SetTheme(xtpThemeNativeWinXP);</DIV>]]>
   </description>
   <pubDate>Thu, 22 Mar 2007 02:06:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6694&amp;PID=21337&amp;title=skin-and-cxtptoolbar-in-a-dialog#21337</guid>
  </item> 
  <item>
   <title><![CDATA[Skin and CXTPToolbar in a dialog : Does CXTPToolbar supports skin...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6694&amp;PID=21324&amp;title=skin-and-cxtptoolbar-in-a-dialog#21324</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1302">Dominique</a><br /><strong>Subject:</strong> 6694<br /><strong>Posted:</strong> 21 March 2007 at 11:17am<br /><br /><DIV>Does CXTPToolbar supports skin when&nbsp;it is used in a dialog box&nbsp;?</DIV><DIV>&nbsp;</DIV><DIV>I made a simple test in the sample "SkinControls"</DIV><DIV>I added a CXTPToolBar in top of the dialog box.</DIV><DIV>&nbsp;</DIV><DIV>//SkinControls.h</DIV><DIV>CXTPToolBar&nbsp;&nbsp; m_toolBar;</DIV><DIV>&nbsp;</DIV><DIV>//SkinControls.cpp</DIV><DIV>&nbsp;</DIV><DIV>static UINT auIDToolBar&#091;&#093;=<BR>{<BR>&nbsp;ID_FILE_NEW,<BR>&nbsp;ID_FILE_OPEN,<BR>&nbsp;ID_FILE_SAVE<BR>};</DIV><DIV>&nbsp;</DIV><DIV>BOOL CSkinControlsDlg::OnInitDialog()<BR>{<BR>&nbsp;CDialog::OnInitDialog();</DIV><DIV>&nbsp;</DIV><DIV>//at the end of OnInitDialog I added few lines</DIV><DIV>&nbsp;</DIV><DIV>m_toolBar.CreateToolBar(&nbsp;TBSTYLE_FLAT|TBSTYLE_TRANSPARENT|TBSTYLE_TOOLTIPS<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|WS_CHILD|WS_VISIBLE|CBRS_ALIGN_TOP<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,this<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);</DIV><DIV>&nbsp;m_toolBar.SetButtons(auIDToolBar, sizeof(auIDToolBar)/sizeof(UINT));<BR>&nbsp;RepositionBars(AFX_IDW_CONTROLBAR_FIRST, AFX_IDW_CONTROLBAR_LAST,0);<BR>&nbsp;CRect rcToolBar(0,0, 150, 30);<BR>&nbsp;m_toolBar.MoveWindow(&amp;rcToolBar);</DIV><DIV>}</DIV><DIV>&nbsp;</DIV><DIV>When i run the sample my new toolbar is not modified when i change theme (vista for example).</DIV><DIV>&nbsp;</DIV><DIV>what's wrong with my code ?</DIV><DIV>&nbsp;</DIV><DIV><img src="https://forum.codejock.com/uploads/20070321_110601_skin.JPG" border="0">&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 21 Mar 2007 11:17:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6694&amp;PID=21324&amp;title=skin-and-cxtptoolbar-in-a-dialog#21324</guid>
  </item> 
 </channel>
</rss>