Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - ReportCtrl CheckBoxes in 12.1
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ReportCtrl CheckBoxes in 12.1

 Post Reply Post Reply
Author
Message
Mar2008 View Drop Down
Groupie
Groupie
Avatar

Joined: 18 April 2008
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mar2008 Quote  Post ReplyReply Direct Link To This Post Topic: ReportCtrl CheckBoxes in 12.1
    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...
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: 21 November 2008 at 3:41am
Thanks. Agree :(:(:( Guess 12.1.1 will be soon.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Posted: 21 November 2008 at 8:55am
Let us find all new bugs first! :)
PokerMemento - http://www.pokermemento.com/
Back to Top
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Mar2008 View Drop Down
Groupie
Groupie
Avatar

Joined: 18 April 2008
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mar2008 Quote  Post ReplyReply Direct Link To This Post 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);

 

 
Back to Top
markr View Drop Down
Senior Member
Senior Member


Joined: 01 August 2004
Status: Offline
Points: 443
Post Options Post Options   Thanks (0) Thanks(0)   Quote markr Quote  Post ReplyReply Direct Link To This Post 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.
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.051 seconds.