Print Page | Close Window

CXTPReportControl

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=2278
Printed Date: 08 November 2025 at 6:04am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPReportControl
Posted By: Maneesh
Subject: CXTPReportControl
Date Posted: 25 May 2005 at 12:10am

Hi Guys,

Iam using the CXTPReportControl , I have 5 Columns  have disbled the columd sorting ! the First column is a checkbox when the header Column is clicked I need to check all the items ( Rows ) and when i uncheck it should uncheck all the rows !

Is there a way to handle the header row Click event with which i can identify what column has been clicked !!

Thanks

Maneesh




Replies:
Posted By: sserge
Date Posted: 25 May 2005 at 7:49am
Hi Maneesh,

For the moment it is not possible, but you can patch the code of the method CXTPReportHeader::OnLButtonUp in the following way (add string in bold) and handle NM_CLICK events. You'll get the pointer of the corresponding Column, with NULL's as other parameters.

void CXTPReportHeader::OnLButtonUp(UINT nFlags, CPoint ptClick)
{
......
     }

     m_pControl->SendMessageToParent(NULL, NULL, HitTest(ptClick), NM_CLICK, &ptClick);
}



--
WBR,
Serge



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