struct LVITEM, _ mask as ulong, _ iItem as long, _ iSubItem as long, _ state as ulong, _ stateMask as ulong, _ pszText$ as ptr, _ cchTextMax as long, _ iImage as long, _ lParam as long, _ iIndent as long function LVM.SETITEMSTATE(hWnd, nRow, nState) LVITEM.mask.struct = _LVIF_STATE LVITEM.state.struct = nState LVITEM.stateMask.struct = _LVIS_STATEIMAGEMASK or _LVIS_SELECTED calldll #user32, "SendMessageA", _ hWnd as ulong, _ _LVM_SETITEMSTATE as long, _ nRow as long, _ LVITEM as struct, _ LVM.SETITEMSTATE as long end function
|
null = SendMessageLong(hWndListView, _LVM_SETEXTENDEDLISTVIEWSTYLE, _LVS_EX_CHECKBOXES or _LVS_EX_FULLROWSELECT, _LVS_EX_CHECKBOXES or _LVS_EX_FULLROWSELECT)