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

    HELP !! Highlighting List Items on click

    Hi,
    I have a question on ListView Box. I am popoulating it with listitems and I have a command button which is enabled when you click on a list Item. My problem is when you click anywhere on the list box an item gets higlighted, which I don't want. How can I get rid of this problem and make sure that the items get higlighted only when it's clicked on a List Item only ?

    Thank for the help

    Viji


  2. #2
    Join Date
    May 2001
    Location
    Canada
    Posts
    182

    Re: HELP !! Highlighting List Items on click

    Set lvwTheListView.HideSeletion= True

    Good luck!

    Michi


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