Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTPReportControl CheckBox Not Working
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPReportControl CheckBox Not Working

 Post Reply Post Reply
Author
Message
Maneesh View Drop Down
Newbie
Newbie


Joined: 02 May 2005
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote Maneesh Quote  Post ReplyReply Direct Link To This Post Topic: CXTPReportControl CheckBox Not Working
    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

 


 



Edited by Maneesh
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Maneesh View Drop Down
Newbie
Newbie


Joined: 02 May 2005
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote Maneesh Quote  Post ReplyReply Direct Link To This Post Posted: 26 May 2005 at 11:36pm

Thanks Oleg

Its Working Now.

Maneesh

Software Engineer

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.188 seconds.