CListCtrl Selection changes - Programmer

This is a discussion on CListCtrl Selection changes - Programmer ; Hello to all. I have this problem: I first had a ListBox, and now I changed to ListCtrl because I needed more columns. ..How can I track if the user selects something? (The ON_LBN_SELCHANGE does not catch a new selection ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: CListCtrl Selection changes

  1. CListCtrl Selection changes

    Hello to all.

    I have this problem: I first had a ListBox, and now I changed to
    ListCtrl because I needed more columns.

    ..How can I track if the user selects something? (The ON_LBN_SELCHANGE
    does not catch a new selection any more)

    ..How can I make the highlighted selection cover the entire row. (not
    only just the main item on the row, it is: the first item)

    Thanks for your help,

    moonwulf

  2. Re: CListCtrl Selection changes

    "moonwulf" wrote in message
    news:19be48f3.0310230417.11d2b0b@posting.google.co m...
    > Hello to all.
    >
    > I have this problem: I first had a ListBox, and now I changed to
    > ListCtrl because I needed more columns.
    >
    > .How can I track if the user selects something? (The ON_LBN_SELCHANGE
    > does not catch a new selection any more)
    >


    Check the LVN_ITEMCHANGED notification message.


    > .How can I make the highlighted selection cover the entire row. (not
    > only just the main item on the row, it is: the first item)
    >


    http://www.codeguru.com/mfc/comments/54783.shtml

    dave h




    ----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
    http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
    ---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---

+ Reply to Thread