Print Page | Close Window

ASSERT: GetRibbonPaintManager

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=4332
Printed Date: 10 November 2025 at 3:41pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ASSERT: GetRibbonPaintManager
Posted By: Italo
Subject: ASSERT: GetRibbonPaintManager
Date Posted: 03 June 2006 at 2:56pm

Why is my program getting an assertion in xtpribbonbar.cpp line 210? My program used to work with 2006 Q1?

Thanks
Italo




Replies:
Posted By: ABuenger
Date Posted: 03 June 2006 at 4:48pm

Add this to your code before the creation of the CXTPRibbonBar.

pCommandBars->SetPaintManager (new CXTPRibbonTheme ());

Also don't forget to call

pRibbonBar->EnableFrameTheme ();



-------------
Codejock support



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