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

    Select an item in Listview Control by double clicking

    i have serious problems on the above subject. I can do ok programming with other controls except the listview control. Please help how to select an item in listview control when I double click it? Any code will be highly appreciated


  2. #2
    Guest

    Re: Select an item in Listview Control by double clicking

    O.K. I'm pretty new to C++ programming, but I think I know how to do this. Go into the resource editor and open the dialog box that has the list control. Right click on the list control and select "Events" form the menu. This will open up a dialog that will allow you to add an an OnDblclkList() event handler to your dialog class. Then all you need to do is write some code to handle the event and your all set.


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