Print Page | Close Window

AssertUnaltered when changing the painttheme

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Skin Framework
Forum Description: Topics Related to Codejock Skin Framework
URL: http://forum.codejock.com/forum_posts.asp?TID=23451
Printed Date: 27 April 2024 at 1:01am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: AssertUnaltered when changing the painttheme
Posted By: Alex G.
Subject: AssertUnaltered when changing the painttheme
Date Posted: 25 September 2017 at 2:51am
Hello,

when I try to change a theme for a specific ReportControl, I got this assert:

AFX_INLINE void CXTPCachedGdiObjectReferenceBase::AssertUnaltered()
{
ASSERT("Cached GDI object has been changed" && m_hObject == m_pObject->m_hObject);
}

The call stack:

> AnkhorFlowSheetD.exe!CXTPCachedGdiObjectReferenceBase::AssertUnaltered() Line 231 C++
  AnkhorFlowSheetD.exe!CXTPFontCache::CreateFontIndirectW(const tagLOGFONTW * lpLogFont) Line 616 C++
  AnkhorFlowSheetD.exe!CXTPFont::CreateFontIndirectW(const tagLOGFONTW * lpLogFont) Line 728 C++
  AnkhorFlowSheetD.exe!CXTPReportPaintManager::CXTPReportPaintManager() Line 211 C++
  AnkhorFlowSheetD.exe!CXTPReportThemeOffice2013::CXTPReportThemeOffice2013() Line 60 C++
  AnkhorFlowSheetD.exe!CXTPReportThemeVisualStudio2015::CXTPReportThemeVisualStudio2015() Line 51 C++
  AnkhorFlowSheetD.exe!CXTPReportControl::SetTheme(XTPReportPaintTheme paintTheme, int bEnableMetrics) Line 8038 C++


Any ideas ?




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net