Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - Forbid Selection Change
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forbid Selection Change

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

Joined: 10 May 2006
Location: Germany
Status: Offline
Points: 96
Post Options Post Options   Thanks (0) Thanks(0)   Quote FSauer Quote  Post ReplyReply Direct Link To This Post Topic: Forbid Selection Change
    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
 
Back to Top
FSauer View Drop Down
Groupie
Groupie
Avatar

Joined: 10 May 2006
Location: Germany
Status: Offline
Points: 96
Post Options Post Options   Thanks (0) Thanks(0)   Quote FSauer Quote  Post ReplyReply Direct Link To This Post 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.
 
 
 
Best regards
FSauer
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.109 seconds.