Hi All,
I have a wxListCtrl with checkboxes. On click of a checkbox, the corresponding row should be shown as disabled/greyed out. And when unchecked, it should be displayed normally again.
Is there a way we can achieve this?
Please help..
Show wxListCtrl item row as disabled
Re: Show wxListCtrl item row as disabled
Hi,
Are you using wxCheckListBox?
Thank you.
Are you using wxCheckListBox?
Thank you.
Re: Show wxListCtrl item row as disabled
You can only change the item colors to make it look disabled.
wxListCtrl::SetItemBackgroundColour
https://docs.wxwidgets.org/trunk/classw ... ffefdc9a30
wxListCtrl::SetItemTextColour
https://docs.wxwidgets.org/trunk/classw ... cdefcdaf11
wxListCtrl::SetItemBackgroundColour
https://docs.wxwidgets.org/trunk/classw ... ffefdc9a30
wxListCtrl::SetItemTextColour
https://docs.wxwidgets.org/trunk/classw ... cdefcdaf11
Use the source, Luke!