Print Page | Close Window

Forbid Selection Change

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=6749
Printed Date: 27 September 2024 at 4:12pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Forbid Selection Change
Posted By: FSauer
Subject: Forbid Selection Change
Date Posted: 28 March 2007 at 8:54am
Hi.
 
Is it possible to forbid Selctionchange?
The Selection of the Rows shouldn't be change at a specific situation.
 
For any help i'm really happy.
 
Best Regards
FSauer
 



Replies:
Posted By: FSauer
Date Posted: 05 April 2007 at 4:03am
Hi.
 
I find a solution. My solution is to create derived class from CXTPReportControl and overwrite the following functions:
 afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
 afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
 afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
 
Appended my own ReportControlClass.
 
https://forum.codejock.com/uploads/20070405_040058_MyReportControl.zip - uploads/20070405_040058_MyReportControl.zip
 
 
Best regards
FSauer



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