Hi,
Is there a way to disable item selection in a wxListBox? For example, in WinAPI this can be done via a LBS_NOSEL style.
Thank you.
wxListBox "selection disabled" style
-
- Earned a small fee
- Posts: 14
- Joined: Wed Jun 30, 2021 3:22 am
Re: wxListBox "selection disabled" style
To my best knowledge: No.
What exactly do you need? Maybe another control could be used instead.
What exactly do you need? Maybe another control could be used instead.
Use the source, Luke!
-
- Earned a small fee
- Posts: 14
- Joined: Wed Jun 30, 2021 3:22 am
Re: wxListBox "selection disabled" style
Thank you for your reply. I was exploring wxWidgets and was wondering if this WinAPI ListBox selection mode is covered by wxListBox.
Re: wxListBox "selection disabled" style
Hi,
I believe you can catch selection event and turn the selection style off in the handler.
Thank you.
I believe you can catch selection event and turn the selection style off in the handler.
Thank you.