Can anyone help me how to set the checkbox property in the list view control.
I want the first column of the list view control to show checkbox
Can anyone help me how to set the checkbox property in the list view control.
I want the first column of the list view control to show checkbox
set a new style
will need a newish version of Comctl32.dll
4.7 at least
Code:exStyles = LVS_EX_CHECKBOXES; ListView_SetExtendedListViewStyleEx(hLV, exStyles, exStyles); //this macro will return false if not checked or TRUE if checked ListView_GetCheckState(hLV,iIndexOfItem)
"Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
Friedrich Nietzsche
"I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
George Best
"If you are going through hell....keep going."
Winston Churchill