I just stumbled upon the SetItemChecked and SetItemCheckState when working on a checked listbox.
The SetItemChecked takes an listindex and True/false to either set the listitem to checked or unchecked.
The SetItemCheckState takes an listindex and a CheckState-enum to set the state to either checked, unchecked or Indeterminate.
Why does SetItemChecked exists, when SetItemCheckState does cover all states?
Is it just to make it easy to use a boolean because its the most common use to check/uncheck or has I missed something?
And if it just to make it easier to use a boolean, why not have that as an overload to the function?
Thanks.