Jump to content
  • Advertisement
Sign in to follow this  
31337noob

how to select different subitems in a listview

This topic is 5391 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

how do i select different subitems in a listview not the first subitem (that you can select by default by clicking on it).

Share this post


Link to post
Share on other sites
Advertisement
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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!