wxListCtrl and Column Selection

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
c5
In need of some credit
In need of some credit
Posts: 5
Joined: Sun Feb 27, 2022 2:40 am

wxListCtrl and Column Selection

Post by c5 »

Is there a way to select individual items in different columns in a wxListCtrl?
Image
When my mouse hovers over and clicks on whatever is in the row, both the username and ID are selected.
Is there a way to only select either the user name or ID at one time? I'm not talking about wxLC_SINGLE_SEL. I am using that.
Attachments
lsYvEWR.png
lsYvEWR.png (3.96 KiB) Viewed 210 times
User avatar
doublemax
Moderator
Moderator
Posts: 19160
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: wxListCtrl and Column Selection

Post by doublemax »

No, wxListCtrl can't do that. wxGrid is the only list control that allows to select individual cells.
Use the source, Luke!
Post Reply