VB Code:
  1. With myLVitem
  2.       .mask = LVIF_STATE
  3.       .state = &HF
  4.       .stateMask = LVIS_SELECTED Or LVIS_FOCUSED
  5.       End With
  6.      
  7.         dmWriteProcessData lvItemPointer, VarPtr(myLVitem), Len(myLVitem)
  8.         apiResult = SendMessage(lvWindow, LVM_SETITEMSTATE, 1, lvItemPointer)
is what im currently using to select the item.. but the thing is i have to use SendMessage multiple times to select multiple items.. is there a way to select multiple items using only one sendmessage call?