how to select different subitems in a listview
how do i select different subitems in a listview not the first subitem (that you can select by default by clicking on it).
I'm not sure what you're really asking here. If the question is how you make items selected, then you probably want SetItemState, which I can explain further if that's the question. If the question is how you select the entire row, then it's SetExtendedstyles(LVS_EX_FULLROWSELECT). If neither is what you're asking, elaborate.
-fel
-fel
sort of like that, but i want to select each subitem not the whole row
example:
headers |memory| |value|
row 0x12ff7c 5
but i want to be able to select the 5 by clicking on it but by default you cant. so how will i be able to do this.
example:
headers |memory| |value|
row 0x12ff7c 5
but i want to be able to select the 5 by clicking on it but by default you cant. so how will i be able to do this.
Well, that's not trivial. It's not awful, but it's not trivial. The control doesn't really natively do that. But, there are a lot of articles on Codeguru that will help you determine how much stuff you want to do to your list control, and how to get it to do that.
-fel
-fel
Quote:Original post by felisandria
Well, that's not trivial. It's not awful, but it's not trivial. The control doesn't really natively do that. But, there are a lot of articles on Codeguru that will help you determine how much stuff you want to do to your list control, and how to get it to do that.
-fel
not in mfc. i am using win32api
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement