CListCtrl problem... Want to suppress the event beoing called

Discussion in 'MFC' started by rag84dec, Apr 29, 2008.

  1. rag84dec

    rag84dec New Member

    Joined:
    Jul 17, 2007
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    0
    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       |
     ------------------------------------
    
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice