Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - Check Box in Column Header
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Check Box in Column Header

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


Joined: 01 May 2009
Location: United States
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote mahi1217 Quote  Post ReplyReply Direct Link To This Post Topic: Check Box in Column Header
    Posted: 22 January 2010 at 4:32pm
 
In the example report sample application , a static image is used to have the checkbox in the column header  ( becuase it is static image it will be checked all the time ) 
 
Is there any way  to have actual checkbox in the column header so that i can catch the event when it is clicked
(check all the items if it is checked and uncheck when it is unchecked  )
 
I know CXTPReportRecordItem has HasCheckbox() method to support this for items in the reportcontrol cell .. are there any such methods available to support checkboxes in the column header ???
 
I am building a application where i will have a checkbox in the column header , and once i check the chexbox in the header all the items should be checked in the report control ( same with uncheck ) .
 
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 25 January 2010 at 1:48pm

Header is just place holder - e.g. image for plus-minus glyph or image of checkbox glyph. For PlusMinus glyph there is support in XTPReportHeader class. You can derive your class and add similar support for Checkbox glyph click event

 

Back to Top
mahi1217 View Drop Down
Newbie
Newbie


Joined: 01 May 2009
Location: United States
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote mahi1217 Quote  Post ReplyReply Direct Link To This Post Posted: 24 February 2010 at 8:53pm
Thank you very much the reply . I will try that .
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1201
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 22 April 2015 at 10:00am
Hello!
Have you ever solved this?
How?

TIA
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022
Back to Top
mahi1217 View Drop Down
Newbie
Newbie


Joined: 01 May 2009
Location: United States
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote mahi1217 Quote  Post ReplyReply Direct Link To This Post Posted: 25 April 2015 at 7:37pm
Hello ,

Our requirements changed later and I didn't had to implement this . 

Thanks ,
Mahender
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.141 seconds.