Hello all!
I'm trying to figure out how set the SelectedIndex to a -1 without generating an event.
In VB6, I would use the function:
But, I have not been able to find instruction on how to use the VB6 function in C#.
Can someone point me in the right direction?
Thanks!
I'm trying to figure out how set the SelectedIndex to a -1 without generating an event.
In VB6, I would use the function:
C#:
Call SendMessageBynum(TargetList.hwnd, LB_SETCURSEL, SetValue, 0)
But, I have not been able to find instruction on how to use the VB6 function in C#.
Can someone point me in the right direction?
Thanks!