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. How does CListCtrl notify its parent window when a cell content has changed?

How does CListCtrl notify its parent window when a cell content has changed?

Scheduled Pinned Locked Moved C / C++ / MFC
question
4 Posts 3 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.
  • F Offline
    F Offline
    followait
    wrote on last edited by
    #1

    This message will not be sent, when i use SetItemText to change the item text. I want the parent to be notified when SetItemText is called, because I don't call SetItemText in CListCtrl's parent.

    T 1 Reply Last reply
    0
    • F followait

      This message will not be sent, when i use SetItemText to change the item text. I want the parent to be notified when SetItemText is called, because I don't call SetItemText in CListCtrl's parent.

      T Offline
      T Offline
      ThatsAlok
      wrote on last edited by
      #2

      followait wrote: when i use SetItemText to change the item text. Look for LVN_ITEMCHANGED or LVN_ITEMCHANGING message

      "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

      cheers, Alok Gupta VC Forum Q&A :- I/ IV

      F 1 Reply Last reply
      0
      • T ThatsAlok

        followait wrote: when i use SetItemText to change the item text. Look for LVN_ITEMCHANGED or LVN_ITEMCHANGING message

        "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

        cheers, Alok Gupta VC Forum Q&A :- I/ IV

        F Offline
        F Offline
        followait
        wrote on last edited by
        #3

        I tried, but it didn't work. There is no LVN_ITEMCHANGED or LVN_ITEMCHANGING when SetItemText is called.

        F 1 Reply Last reply
        0
        • F followait

          I tried, but it didn't work. There is no LVN_ITEMCHANGED or LVN_ITEMCHANGING when SetItemText is called.

          F Offline
          F Offline
          Frank K
          wrote on last edited by
          #4

          Hi, the CListCtrl is in a dialog? Have you create a dialog member function for this CListCtrl (e.g. OnItemchangedMyCListCtrl)? (This is OK at my projects) Or have you the dialog member function "PreTranslateMessage" and look for the LVN_ITEMCHANGED message? Greetings Frank

          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