How to set the list item editable?

Posted on 2004-11-20
Last Modified: 2012-05-05
i have a question.
how to set the list item editable?
Question by:bdp97126
    LVL 2

    Expert Comment

    what do mean editable?
    do u want to modify an element in a list?
    can u be more detailed?

    Author Comment

    sorry for the poor description.
    probably it's too simple question.

    I want to type text in a element of a list.
    I don't know how to set up the element editable (allowing user to input data).

    It will be helpful if I can get a sample code.

    many thanks,
    LVL 14

    Accepted Solution

    You need to use some sort of hybrid control to do this, list boxes and list controls don't directly support this.

    You can find some examples of how to do this here:

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Article by: SunnyDark
    This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
    C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (…
    The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
    The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now