I'm subclassing the listbox and now whenever the listbox subclass is first instantiated the first - and only the first click fire the event twice.

The first event fires and the call back executes the GetSelections method which always returns the 0 index in the listbox regardless of which item was actually selected. The second event works as expected and GetSelections returns the index actually selected. Whats even stranger is if the actual selected index is 0 there is only one event and works as expected.

After that the listbox works as expected.

Any ideas ?

Jeff


Reply via email to