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

how to add editboxes in a listview

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

Advertisement
You mean you want to click on a listview item, and have an editbox appear? You could just have a hidden box, and have it appear at the appropriate location, when a click occurs.


Ryan

Share this post


Link to post
Share on other sites
You can also create it dynamically during runtime.

Obtain the item rect and create an edit or combo or whatever with the child-style (WS_CHILD) set and put it there.

Prepare to handle all kind of odd features like cancel editing on Escape and more. You might want to disable the listview during editing an item and re-enable it when you're done.

Share this post


Link to post
Share on other sites
Quote:
Original post by Empirical
Unless he means a dropdown-combobox?


no not a combobox, i want a editbox.

everyone else knows what i am talking about.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
ListView_EditLabel

Share this post


Link to post
Share on other sites
Quote:
Original post by 31337noob
Quote:
Original post by Empirical
Unless he means a dropdown-combobox?


no not a combobox, i want a editbox.

everyone else knows what i am talking about.


It was only a suggestion. A combobox consists of a list box and an edit box like functionality.

Share this post


Link to post
Share on other sites
Quote:
Original post by 31337noobeveryone else knows what i am talking about.
A common misconception around here.

That assumption wont get you very far I'm afraid.

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!