Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

kuphryn

CListCtrl in Dialog Box & Select :: MFC

This topic is 5855 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

Hi. I started out using a CListBox in a dialog box. However, I wanted to add a grid feature, so I posted a message about how to add a grid to it. I found out the only way is to use a CListCtrl. I implemented a CListCtrl in place of the CListBox. There is one problem. I cannot get it to return a selected item or the selected items. There are no getseltime or getselitemindex. How do you determine what item a user selects in a CListCtrl? Thanks, Kuphryn

Share this post


Link to post
Share on other sites
Advertisement
Thanks.

What message do I need to handler to get a notification of an item being selected? I am using LVN_ITEMCHANGED.

Kuphryn

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!