<?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 : CXTPFramePaintManager::DrawFrame crash</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTPFramePaintManager::DrawFrame crash]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 22 Apr 2026 08:27:36 +0000</pubDate>
  <lastBuildDate>Thu, 29 Jan 2009 08:02:24 +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=13209</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[CXTPFramePaintManager::DrawFrame crash : OK thanks, I&amp;#039;ll try that.  ...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13209&amp;PID=44998&amp;title=cxtpframepaintmanagerdrawframe-crash#44998</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 13209<br /><strong>Posted:</strong> 29 January 2009 at 8:02am<br /><br />OK thanks, I'll try that.<br /><br />]]>
   </description>
   <pubDate>Thu, 29 Jan 2009 08:02:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13209&amp;PID=44998&amp;title=cxtpframepaintmanagerdrawframe-crash#44998</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPFramePaintManager::DrawFrame crash : Hi,   The thing that now all...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13209&amp;PID=44976&amp;title=cxtpframepaintmanagerdrawframe-crash#44976</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 13209<br /><strong>Posted:</strong> 28 January 2009 at 7:12am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>The thing that now all PaintManagers share same CXTPOffice2007Image collection.</DIV><DIV>&nbsp;</DIV><DIV>add variable for frame</DIV><DIV>CXTPOffice2007Images* m_pImages;</DIV><DIV>in constrcutor m_pImages = new CXTPOffice2007Images();&nbsp; </DIV><DIV>in destructor delete m_pImages</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>ans set for theme:</DIV><DIV>CXTPOffice2007Theme*)pCommandBars-&gt;GetPaintManager())-&gt;SetImages(m_pImages);<BR></DIV>]]>
   </description>
   <pubDate>Wed, 28 Jan 2009 07:12:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13209&amp;PID=44976&amp;title=cxtpframepaintmanagerdrawframe-crash#44976</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPFramePaintManager::DrawFrame crash : Hi Oleg  Sorry - I misunderstood...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13209&amp;PID=44972&amp;title=cxtpframepaintmanagerdrawframe-crash#44972</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 13209<br /><strong>Posted:</strong> 28 January 2009 at 5:03am<br /><br />Hi Oleg<br /><br />Sorry - I misunderstood you.  I do already call pCommandBars-&gt;SetTheme(xtpThemeRibbon) for each frame.<br /><br />I don't know where I should get pImages from though.  They are all standard CodeJock resources - I don't have any images for the 2 items in the quick access toolbar.<br /><br />I do have a few icons for the ribbon I set though.]]>
   </description>
   <pubDate>Wed, 28 Jan 2009 05:03:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13209&amp;PID=44972&amp;title=cxtpframepaintmanagerdrawframe-crash#44972</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPFramePaintManager::DrawFrame crash : Hi,  Then try create individual...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13209&amp;PID=44962&amp;title=cxtpframepaintmanagerdrawframe-crash#44962</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 13209<br /><strong>Posted:</strong> 28 January 2009 at 1:41am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Then try create individual PaintManager + its Images for separate frame:</DIV><DIV>&nbsp;</DIV><DIV>pCommandBars-&gt;SetTheme(xtpThemeOffice2007);</DIV><DIV>((CXTPOffice2007Theme*)pCommandBars-&gt;GetPaintManager())-&gt;SetImages(pImages);<BR></DIV>]]>
   </description>
   <pubDate>Wed, 28 Jan 2009 01:41:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13209&amp;PID=44962&amp;title=cxtpframepaintmanagerdrawframe-crash#44962</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPFramePaintManager::DrawFrame crash : I don&amp;#039;t manually set any...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13209&amp;PID=44950&amp;title=cxtpframepaintmanagerdrawframe-crash#44950</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 13209<br /><strong>Posted:</strong> 27 January 2009 at 4:46pm<br /><br />I don't manually set any paint manager on any frame - so whatever the default is.]]>
   </description>
   <pubDate>Tue, 27 Jan 2009 16:46:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13209&amp;PID=44950&amp;title=cxtpframepaintmanagerdrawframe-crash#44950</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPFramePaintManager::DrawFrame crash : Hi, Do you have common PaintManager...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13209&amp;PID=44745&amp;title=cxtpframepaintmanagerdrawframe-crash#44745</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 13209<br /><strong>Posted:</strong> 21 January 2009 at 2:08am<br /><br /><P>Hi,</P><DIV>Do you have common PaintManager or each frame's commandbars has its own ?</DIV>]]>
   </description>
   <pubDate>Wed, 21 Jan 2009 02:08:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13209&amp;PID=44745&amp;title=cxtpframepaintmanagerdrawframe-crash#44745</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPFramePaintManager::DrawFrame crash : p.s. this crash happened when...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13209&amp;PID=44739&amp;title=cxtpframepaintmanagerdrawframe-crash#44739</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 13209<br /><strong>Posted:</strong> 20 January 2009 at 4:52pm<br /><br />p.s. this crash happened when I closed one of the frames.<br /><br />it was running in the debugger.]]>
   </description>
   <pubDate>Tue, 20 Jan 2009 16:52:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13209&amp;PID=44739&amp;title=cxtpframepaintmanagerdrawframe-crash#44739</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPFramePaintManager::DrawFrame crash : Hi Oleg  yes, each frame has its...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13209&amp;PID=44738&amp;title=cxtpframepaintmanagerdrawframe-crash#44738</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 13209<br /><strong>Posted:</strong> 20 January 2009 at 4:51pm<br /><br />Hi Oleg<br /><br />yes, each frame has its own thread, else they don't work for things like updating UI etc.]]>
   </description>
   <pubDate>Tue, 20 Jan 2009 16:51:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13209&amp;PID=44738&amp;title=cxtpframepaintmanagerdrawframe-crash#44738</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPFramePaintManager::DrawFrame crash : Hi, Do you have frames in multiple...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13209&amp;PID=44708&amp;title=cxtpframepaintmanagerdrawframe-crash#44708</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 13209<br /><strong>Posted:</strong> 20 January 2009 at 2:47am<br /><br />Hi,<DIV>Do you have frames in multiple threads ?</DIV>]]>
   </description>
   <pubDate>Tue, 20 Jan 2009 02:47:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13209&amp;PID=44708&amp;title=cxtpframepaintmanagerdrawframe-crash#44708</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPFramePaintManager::DrawFrame crash : Hi  I&amp;#039;m getting occasional...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13209&amp;PID=44704&amp;title=cxtpframepaintmanagerdrawframe-crash#44704</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 13209<br /><strong>Posted:</strong> 19 January 2009 at 9:28pm<br /><br />Hi<br /><br />I'm getting occasional crashes in this func, where it's trying to draw an image, and the pointer is not NULL, but points to an object that has been deleted.<br /><br />E.g/. <br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pImage = LoadImage(_T("FRAMEBOTTOMRIGHT"));<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (pImage)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rcSrc = pImage-&gt;GetSource(bActive ? 0 : 1, 2);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CRect rcBottomRight(rc.right - rcSrc.Width(), rc.bottom - rcSrc.Height(), rc.right, rc.bottom);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pImage-&gt;DrawImage(pDC, rcBottomRight, rcSrc, CRect(0, 0, 0, 0), 0xFF00FF);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br /><br />where pImage if you browse it is all 0xfeeefeee members.<br /><br />how could this be deleted and still returned from LoadImage?  <br /><br />I'm using multiple frames with my app....]]>
   </description>
   <pubDate>Mon, 19 Jan 2009 21:28:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13209&amp;PID=44704&amp;title=cxtpframepaintmanagerdrawframe-crash#44704</guid>
  </item> 
 </channel>
</rss>