<?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 : CXTPTaskPanel and custom paint manager</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTPTaskPanel and custom paint manager]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 22 Apr 2026 14:09:36 +0000</pubDate>
  <lastBuildDate>Thu, 02 Oct 2008 05:14:23 +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=12315</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[CXTPTaskPanel and custom paint manager : Hi;Destructor of CXTPTaskPanel...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12315&amp;PID=41589&amp;title=cxtptaskpanel-and-custom-paint-manager#41589</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 12315<br /><strong>Posted:</strong> 02 October 2008 at 5:14am<br /><br />Hi;<br><br>Destructor of CXTPTaskPanel calls delete m_pPaintManager, so you don't need to delete it.<br>I use <br><br>m_TaskPanel.SetCustomTheme(new CMyPaintManager());<br><br>to show that the paint manager is managed by the task panel class.<br><br>BTW: In my class designs I prefer to use std::auto_ptr&lt;&gt; to enforce that my class takes ownership of the object provided.<br>]]>
   </description>
   <pubDate>Thu, 02 Oct 2008 05:14:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12315&amp;PID=41589&amp;title=cxtptaskpanel-and-custom-paint-manager#41589</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTaskPanel and custom paint manager : Hello All,I created SDI application...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12315&amp;PID=41585&amp;title=cxtptaskpanel-and-custom-paint-manager#41585</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4277">debugx</a><br /><strong>Subject:</strong> 12315<br /><strong>Posted:</strong> 02 October 2008 at 4:44am<br /><br />Hello All,<br><br>I created SDI application and added task panel. Now I set my custom paint manager with <br>CXTPTaskPanelPaintManager*&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_myPaintManager;<br>m_myPaintManager = new CTaskPanelPaintManagerSTANDARD1();<br>m_myTaskPanel.SetCustomTheme(m_myPaintManager);<br>Everything works fine. But...<br>Now I cant delete memory for m_myPaintManager. Trying to delete memory this way delete m_myPaintManager; causes exception.<br>Please let me know if CXTPTaskPanel deletes all memory for paint managers itself.<br><br>Thanks<br>]]>
   </description>
   <pubDate>Thu, 02 Oct 2008 04:44:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12315&amp;PID=41585&amp;title=cxtptaskpanel-and-custom-paint-manager#41585</guid>
  </item> 
 </channel>
</rss>