CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 1999
    Posts
    2

    ListCtrl question



    I know how to select the first item in a multi-column

    listctrl, but how can you select the second (or third...)?


    Or more specifically:

    I have a CListCtrl with two columns, the first

    non-editable (effectively a row number), and the

    second editable (the data). I want to select the

    editable data (the second column) in a row whenever

    someone clicks anywhere on the row (or even just

    on that particular item.)


    Thanks in advance.




  2. #2
    Join Date
    Apr 1999
    Posts
    2

    Re: ListCtrl question



    Try MSFlexGrid Control.

  3. #3
    Join Date
    Apr 1999
    Posts
    24

    Re: ListCtrl question



    There is an extended ListControl style LVS_EX_FULLROWSELECT which could help.

    This is only available from version 4.70 of the Common Controls.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured