Print Page | Close Window

CXTPReportControl CheckBox Not Working

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=2287
Printed Date: 24 November 2024 at 12:11am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPReportControl CheckBox Not Working
Posted By: Maneesh
Subject: CXTPReportControl CheckBox Not Working
Date Posted: 26 May 2005 at 9:05am

Hello Guys

I do not know whether its a Bug but it not working !

I have a report control with checbox columns ! The VC++ Application is a SDI a Application The report control is placed in a dialog which will be launched on click of a button !

when i execute the application and launch the dialog .. it throws an assertion

at this line of the

VERIFY(m_ilGlyphs.Create(12,12, ILC_COLOR24|ILC_MASK, 0, 1));
CBitmap bmp;
VERIFY(XTPResourceManager()->LoadBitmap(&bmp, XTP_IDB_REPORT_GLYPHS));
 m_ilGlyphs.Add(&bmp, RGB(255, 0, 255));

 m_bFixedRowHeight = TRUE;

========

 

of the CXTPReportPaintManager::CXTPReportPaintManager() Constructor !!

But the same code in A Dialog Based exe works !!

Please help as this checkbox is crucial for my project !

Thanks

Maneesh

 


 




Replies:
Posted By: Oleg
Date Posted: 26 May 2005 at 2:19pm

You must add resources of toolkit

add

#include "XTToolkitPro.rc" 

in rc2 file



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Maneesh
Date Posted: 26 May 2005 at 11:36pm

Thanks Oleg

Its Working Now.

Maneesh

Software Engineer




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