<?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 : AssertUnaltered when changing the painttheme</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Skin Framework : AssertUnaltered when changing the painttheme]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 05 Apr 2026 10:20:08 +0000</pubDate>
  <lastBuildDate>Mon, 25 Sep 2017 02:51:52 +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=23451</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[AssertUnaltered when changing the painttheme : Hello,when I try to change a theme...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23451&amp;PID=76168&amp;title=assertunaltered-when-changing-the-painttheme#76168</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=903">Alex G.</a><br /><strong>Subject:</strong> 23451<br /><strong>Posted:</strong> 25 September 2017 at 2:51am<br /><br /><div>Hello,</div><div><br></div><div>when I try to change a theme for a specific ReportControl, I got this assert:</div><div><br></div><div>AFX_INLINE void CXTPCachedGdiObjectReferenceBase::AssertUnaltered()</div><div>{</div><div><span style="white-space:pre">	</span>ASSERT("Cached GDI object has been changed" &amp;&amp; m_hObject == m_pObject-&gt;m_hObject);</div><div>}</div><div><br></div><div>The call stack:</div><div><br></div><div><div>&gt;<span style="white-space:pre">	</span>AnkhorFlowSheetD.exe!CXTPCachedGdiObjectReferenceBase::AssertUnaltered() Line 231<span style="white-space:pre">	</span>C++</div><div>&nbsp;<span style="white-space:pre">	</span>AnkhorFlowSheetD.exe!CXTPFontCache::CreateFontIndirectW(const tagLOGFONTW * lpLogFont) Line 616<span style="white-space:pre">	</span>C++</div><div>&nbsp;<span style="white-space:pre">	</span>AnkhorFlowSheetD.exe!CXTPFont::CreateFontIndirectW(const tagLOGFONTW * lpLogFont) Line 728<span style="white-space:pre">	</span>C++</div><div>&nbsp;<span style="white-space:pre">	</span>AnkhorFlowSheetD.exe!CXTPReportPaintManager::CXTPReportPaintManager() Line 211<span style="white-space:pre">	</span>C++</div><div>&nbsp;<span style="white-space:pre">	</span>AnkhorFlowSheetD.exe!CXTPReportThemeOffice2013::CXTPReportThemeOffice2013() Line 60<span style="white-space:pre">	</span>C++</div><div>&nbsp;<span style="white-space:pre">	</span>AnkhorFlowSheetD.exe!CXTPReportThemeVisualStudio2015::CXTPReportThemeVisualStudio2015() Line 51<span style="white-space:pre">	</span>C++</div><div>&nbsp;<span style="white-space:pre">	</span>AnkhorFlowSheetD.exe!CXTPReportControl::SetTheme(XTPReportPaintTheme paintTheme, int bEnableMetrics) Line 8038<span style="white-space:pre">	</span>C++</div></div><div><br></div><div><br></div><div>Any ideas ?</div><div><br></div>]]>
   </description>
   <pubDate>Mon, 25 Sep 2017 02:51:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23451&amp;PID=76168&amp;title=assertunaltered-when-changing-the-painttheme#76168</guid>
  </item> 
 </channel>
</rss>