Help with ListView & LV_Add
Posted: 12 May 2020, 06:51
code below showing the checkboxs selected from the the listview,
im want to show the unselected checkboxs instead.
thanks in advance!
im want to show the unselected checkboxs instead.
thanks in advance!
Code: Select all
ListProfile := " C:\ | D:\ | E:\"
Gui, Add, ListView, Checked Grid, list
For each, file in % StrSplit(RTrim(ListProfile, "|"), "|")
LV_Add("check",substr(file,1))
Gui Add, Button,gOK, OK
Gui, Show
return
OK:
namelist =
name := 0
Row := 0
names := Object()
Loop {
Row := LV_GetNext(Row, "C")
If (!Row)
Break
LV_GetText(name, Row, 1)
names.Insert(name)
namelist .= name "`n"
}
MsgBox % namelist