![]() |
ReportCtrl CheckBoxes in 12.1 |
Post Reply ![]() |
Author | |
Mar2008 ![]() Groupie ![]() ![]() Joined: 18 April 2008 Status: Offline Points: 15 |
![]() ![]() ![]() ![]() ![]() 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...
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Thanks. Agree :(:(:( Guess 12.1.1 will be soon.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
znakeeye ![]() Senior Member ![]() ![]() Joined: 26 July 2006 Status: Offline Points: 1672 |
![]() ![]() ![]() ![]() ![]() |
Let us find all new bugs first! :)
|
|
PokerMemento - http://www.pokermemento.com/
|
|
![]() |
|
ABuenger ![]() Newbie ![]() ![]() Joined: 02 February 2006 Status: Offline Points: 1075 |
![]() ![]() ![]() ![]() ![]() |
Isn't that what a Beta is for? Oh wait, there wasn't one for the last months! |
|
Codejock support
|
|
![]() |
|
Mar2008 ![]() Groupie ![]() ![]() Joined: 18 April 2008 Status: Offline Points: 15 |
![]() ![]() ![]() ![]() ![]() |
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); |
|
![]() |
|
markr ![]() Senior Member ![]() Joined: 01 August 2004 Status: Offline Points: 443 |
![]() ![]() ![]() ![]() ![]() |
> 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. |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |