Windows Vista Forums

ListBox SelectionChangedEvent
  1. #1


    PT Guest

    ListBox SelectionChangedEvent

    I created a custom ListBox, and when I call RaiseEvent in one of my routine,
    the handler gets called twice. Has anyone seen this? Am I doing something
    wrong? Does anyone who knows the correct way to do this?



      My System SpecsSystem Spec

  2. #2


    PT Guest

    RE: ListBox SelectionChangedEvent

    Nevermind, user error. Didn't need to call RaiseEvent, just change the
    selection index.

    "PT" wrote:

    > I created a custom ListBox, and when I call RaiseEvent in one of my routine,
    > the handler gets called twice. Has anyone seen this? Am I doing something
    > wrong? Does anyone who knows the correct way to do this?


      My System SpecsSystem Spec

ListBox SelectionChangedEvent problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
ListBox vs. ListView Mike .NET General 5 18 Nov 2008
Set Listbox Value Derek Hart .NET General 5 15 Oct 2008
Easy to get handle from listbox. How to get listbox from handle? IMAFriend .NET General 0 27 Mar 2008
Listbox Anatoli PowerShell 7 04 Dec 2007
DragDrop in Listbox viRtual Avalon 0 25 Apr 2006