CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    i cant get this one....

    two listboxes have the same contents
    how can i make it so when someone clicks on one, it automatically effects the other in the same way?
    the first listbox being a regular listbox, the second one being a dirlistbox


  2. #2
    Join Date
    Dec 1999
    Posts
    18

    Re: i cant get this one....

    trap the click event of the normal listbox on which you handle the code for the Dirlistbox.and on any changes in dirlistbox set the focus back to the normal listbox.click event of listbox fires when LISTINDEX is changed so you can easily handle changes in any of them.

    Pavan


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