<?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 : How to create a second paintmanager instance</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : How to create a second paintmanager instance]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 05:37:04 +0000</pubDate>
  <lastBuildDate>Tue, 20 Mar 2007 10:53:18 +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=6674</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[How to create a second paintmanager instance : Sorry!Found it after update from...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6674&amp;PID=21292&amp;title=how-to-create-a-second-paintmanager-instance#21292</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1613">andolo</a><br /><strong>Subject:</strong> 6674<br /><strong>Posted:</strong> 20 March 2007 at 10:53am<br /><br />Sorry!<br><br>Found it after update from 10.3 to 10.4 source. Works!<br><br>Thank you very much.<br>]]>
   </description>
   <pubDate>Tue, 20 Mar 2007 10:53:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6674&amp;PID=21292&amp;title=how-to-create-a-second-paintmanager-instance#21292</guid>
  </item> 
  <item>
   <title><![CDATA[How to create a second paintmanager instance : I can&amp;#039;t find a member &amp;#0...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6674&amp;PID=21287&amp;title=how-to-create-a-second-paintmanager-instance#21287</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1613">andolo</a><br /><strong>Subject:</strong> 6674<br /><strong>Posted:</strong> 20 March 2007 at 6:50am<br /><br />I can't find a member 'CXTPOffice2007Theme::m_pImages'.<br>The only thing i found id CXTPOffice2007Theme::GetImages() which returns <br>XTPOffice2007Images(), defined as follows:<br><br>//--------------------------------------------------<br>CXTPOffice2007Images* AFX_CDECL XTPOffice2007Images()<br>{<br>&nbsp;&nbsp; &nbsp;static CXTPOffice2007Images images;<br>&nbsp;&nbsp; &nbsp;return &amp;images;<br>}<br>//--------------------------------------------------<br><br><br>when i understand right i need a second instance of these static CXTPOffice2007Images images!?]]>
   </description>
   <pubDate>Tue, 20 Mar 2007 06:50:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6674&amp;PID=21287&amp;title=how-to-create-a-second-paintmanager-instance#21287</guid>
  </item> 
  <item>
   <title><![CDATA[How to create a second paintmanager instance : You can  override CXTPOffice2007Theme,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6674&amp;PID=21286&amp;title=how-to-create-a-second-paintmanager-instance#21286</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6674<br /><strong>Posted:</strong> 20 March 2007 at 6:22am<br /><br /><P>You can </P><DIV>override CXTPOffice2007Theme, </DIV><DIV>in constructor </DIV><DIV>m_pImages = new CXTPOffice2007Images();</DIV><DIV>in destructor</DIV><DIV>delete m_pImages </DIV><DIV>&nbsp;</DIV><DIV>and set this new class as paintmanager to individual commandbars</DIV><DIV>&nbsp;</DIV><DIV>pCommandBars-&gt;SetPaintManager(new CMyOffice2007theme());</DIV>]]>
   </description>
   <pubDate>Tue, 20 Mar 2007 06:22:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6674&amp;PID=21286&amp;title=how-to-create-a-second-paintmanager-instance#21286</guid>
  </item> 
  <item>
   <title><![CDATA[How to create a second paintmanager instance :         Yes, i want one global...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6674&amp;PID=21283&amp;title=how-to-create-a-second-paintmanager-instance#21283</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1613">andolo</a><br /><strong>Subject:</strong> 6674<br /><strong>Posted:</strong> 20 March 2007 at 4:25am<br /><br />   <!-- Start Member Post -->   <div ="msg" style="overflow: auto; : left;"><div>Yes, i want one global (not necessary but best for me if global) CXTPOffice2007Theme and for some special windows a set of (XTPOffice2007-)Images with colors of our company.<br></div>   </div>]]>
   </description>
   <pubDate>Tue, 20 Mar 2007 04:25:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6674&amp;PID=21283&amp;title=how-to-create-a-second-paintmanager-instance#21283</guid>
  </item> 
  <item>
   <title><![CDATA[How to create a second paintmanager instance : Hi,  by default all CXTPOffice2007Theme...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6674&amp;PID=21277&amp;title=how-to-create-a-second-paintmanager-instance#21277</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6674<br /><strong>Posted:</strong> 20 March 2007 at 2:27am<br /><br /><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>by default all CXTPOffice2007Theme themes use same XTPOffice2007Images. Do you want one Office2007 use one colors and another - another?</DIV>]]>
   </description>
   <pubDate>Tue, 20 Mar 2007 02:27:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6674&amp;PID=21277&amp;title=how-to-create-a-second-paintmanager-instance#21277</guid>
  </item> 
  <item>
   <title><![CDATA[How to create a second paintmanager instance : Hi,how can i use a second paintmanager...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6674&amp;PID=21266&amp;title=how-to-create-a-second-paintmanager-instance#21266</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1613">andolo</a><br /><strong>Subject:</strong> 6674<br /><strong>Posted:</strong> 19 March 2007 at 12:56pm<br /><br />Hi,<br><br>how can i use a second paintmanager in my executable?<br>the code below changes the global painmanager (XTPPaintManager())!<br>how can i avoid this.<br><br>Thanks in advance.<br>al<br><br>----------- begin snippet ----------- <br>&nbsp;&nbsp;&nbsp; m_pPaintManager = new CXTPOffice2007Theme();<br><br>&nbsp;&nbsp;&nbsp; HMODULE hModule = LoadLibrary("MyOffice2007Blue.dll");<br>&nbsp;&nbsp; &nbsp;if(hModule != NULL)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ((CXTPOffice2007Theme*)m_pPaintManager)-&gt;SetImageHandle(hModule, NULL);<br>----------- end snippet ----------- <br><br><br><br>]]>
   </description>
   <pubDate>Mon, 19 Mar 2007 12:56:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6674&amp;PID=21266&amp;title=how-to-create-a-second-paintmanager-instance#21266</guid>
  </item> 
 </channel>
</rss>