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

    Listview Control

    Hi there..

    I'm trying to setup a form that looks like the index tab in MSDN. Is that a listview for the browser? If so how can I highlight an item as the user is keying away with in my text box? I can do a finditem and ensurevisilbe, but I can't get the highlight to work.

    Thanks very much for you time and help!
    Jake


  2. #2
    Join Date
    Jun 1999
    Location
    Pune, Maharastra, India
    Posts
    59

    Re: Listview Control

    That control looks as a tab dialoged box not a list view control and to scroll the list as u type in the text box u have to catch the change
    event of the textbox and then try to find that word in the list .I did it using listindex of the listbox control and ten using like operator
    to search for the req value. Hope have been of any help to U.


  3. #3
    Join Date
    Nov 1999
    Location
    India
    Posts
    4

    Re: Listview Control

    hi,
    i have a partial solution to your problem. when you type in the text box, the listview loses focus and so you are not able to 'see' the highlight. in order to see the highlight, you will have to make the HideSelection property of the listview to False at designtime. However the highlight is a kind of grey and not the usual color. If you are able to get the right color too, it would be great. Let me know if you succeed.

    Regards,

    fundooMani

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