
ListBoxSelectRange – Select or unselect a range of elements in a ListBox
Private Declare Function SendMessage Lib “user32” Alias “SendMessageA” (ByVal _ hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, _ lParam As Any) As LongPrivate Declare Sub CopyMemory Lib “kernel32” Alias “RtlMoveMemory” (dest As _ Any, dest As Any, ByVal numBytes As Long)Const LB_SELITEMRANGE = &H19B’ Select or