Print Page | Close Window

ReportCtrl CheckBoxes in 12.1

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=12744
Printed Date: 23 June 2025 at 11:51am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ReportCtrl CheckBoxes in 12.1
Posted By: Mar2008
Subject: ReportCtrl CheckBoxes in 12.1
Date Posted: 20 November 2008 at 3:53pm
I just rebuilt my project using v12.1 and my report control checkboxes now look much better but have their state flipped. So by default all my items are checked instead of being unchecked....
 
Looks like CXTPReportRecordItem::DrawCheckBox is passing 2 to CXTPReportPaintManager::DrawGlyph instead of 3...



Replies:
Posted By: Oleg
Date Posted: 21 November 2008 at 3:41am
Thanks. Agree :(:(:( Guess 12.1.1 will be soon.

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


Posted By: znakeeye
Date Posted: 21 November 2008 at 8:55am
Let us find all new bugs first! :)

-------------
PokerMemento - http://www.pokermemento.com/


Posted By: ABuenger
Date Posted: 21 November 2008 at 9:16am
Originally posted by znakeeye znakeeye wrote:

Let us find all new bugs first! :)


Isn't that what a Beta is for? Oh wait, there wasn't one for the last months!



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


Posted By: Mar2008
Date Posted: 21 November 2008 at 1:12pm
Thanks for the quick reply Oleg.
 
In case someone needs this fix sooner than 12.1.1, just replace the call to DrawThemeBackground in CXTPReportPaintManager::DrawGlyph with this:
 
m_themeButton.DrawThemeBackground(pDC->m_hDC, BP_CHECKBOX,

iIcon == 3 ? CBS_CHECKEDNORMAL : iIcon == 2 ? CBS_UNCHECKEDNORMAL :

iIcon == 5 ? CBS_CHECKEDDISABLED : CBS_UNCHECKEDDISABLED, &rectCheckBox, NULL);

 

 


Posted By: markr
Date Posted: 25 November 2008 at 8:58am
> Isn't that what a Beta is for? Oh wait, there wasn't one for the last months!

I'm a long-time supporter of CodeJock, but I must express my agreement with this sentiment. You're not making good use of a large installed user base that's anxious and willing to assist with beta testing your products.

Please invest the resources needed to build an effective / collaborative beta testing process. It's in the best interest of all involved parties.



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