Make listview scroll to selected item?
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Make listview scroll to selected item?

  1. #1
    Join Date
    Jan 2002
    Posts
    3

    Make listview scroll to selected item?

    I have a simple listview and a text box on a form. I have written code so that when the user starts typing characters in the text box, the first listitem who's text matches the search string is selected. This works fine, but I can't figure out how to make the listview control "scroll" to the selected item. Any ideas? I am fairly new to this control. Not that it should matter, but the listview is in Report view.

    Thanks in advance for any help,
    -A.J.


  2. #2
    Join Date
    Jan 2002
    Posts
    3

    Re: Make listview scroll to selected item?

    Never mind, I finally found a MSDN article:

    http://msdn.microsoft.com/library/de...l/listview.asp


Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center