Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Edit Text

Edit Text

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    john5632
    wrote on last edited by
    #1

    How to edit text in CListCtrl? I am using InsertItem() but every time its adding new item in list control.I need to modify existing item. I am using report style.

    M H A 3 Replies Last reply
    0
    • J john5632

      How to edit text in CListCtrl? I am using InsertItem() but every time its adding new item in list control.I need to modify existing item. I am using report style.

      M Offline
      M Offline
      Mark Salsbery
      wrote on last edited by
      #2

      Maybe CListCtrl::SetItemText()?

      Mark Salsbery Microsoft MVP - Visual C++ :java:

      1 Reply Last reply
      0
      • J john5632

        How to edit text in CListCtrl? I am using InsertItem() but every time its adding new item in list control.I need to modify existing item. I am using report style.

        H Offline
        H Offline
        Hans Dietrich
        wrote on last edited by
        #3

        If you mean, you want to let the user modify existing text, take a look at: Editing Sub-Items in List Control[^]

        Best wishes, Hans


        [Hans Dietrich Software]

        1 Reply Last reply
        0
        • J john5632

          How to edit text in CListCtrl? I am using InsertItem() but every time its adding new item in list control.I need to modify existing item. I am using report style.

          A Offline
          A Offline
          Alain Rist
          wrote on last edited by
          #4

          john5632 wrote:

          How to edit text in CListCtrl?

          The answer is here[^]. cheers, AR

          When the wise (person) points at the moon the fool looks at the finger (Chinese proverb)

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups