Go4Expert

Go4Expert (http://www.go4expert.com/)
-   MFC (http://www.go4expert.com/forums/mfc/)
-   -   CListCtrl problem... Want to suppress the event beoing called (http://www.go4expert.com/forums/clistctrl-suppress-event-beoing-called-t10284/)

rag84dec 29Apr2008 10:52

CListCtrl problem... Want to suppress the event beoing called
 
Hi,
I have a CListCtrl with the check boxes to the extream left of each row.And i want the check box to be set only if the mouse is clicked on the check box only not on any other place in that First cell of that row.But now even if i click on the text on the first cell text it is generating the event.

I want the event to be genearated only if the mouse click is on "checkbox" not on "text" as given below.....
Code:

CListCtrl is like this
 ------------------------------------
| checkbox text      |
 ------------------------------------



All times are GMT +5.5. The time now is 06:10.