Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Skin Framework
  New Posts New Posts RSS Feed - AssertUnaltered when changing the painttheme
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

AssertUnaltered when changing the painttheme

 Post Reply Post Reply
Author
Message
Alex G. View Drop Down
Groupie
Groupie


Joined: 22 December 2004
Location: Germany
Status: Offline
Points: 74
Post Options Post Options   Thanks (0) Thanks(0)   Quote Alex G. Quote  Post ReplyReply Direct Link To This Post Topic: AssertUnaltered when changing the painttheme
    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 ?

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.