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 message in CListCtrl

Edit message in CListCtrl

Scheduled Pinned Locked Moved C / C++ / MFC
question
5 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.
  • _ Offline
    _ Offline
    _Flaviu
    wrote on last edited by
    #1

    In a list control , which is message to edit an item , like in list-control of Windows Explorer ? It's an second click , but is not double-click ... if you know what I mean ... Thanks. P.S. Actually , I have edit procedure on dblclick event , but this one I need to use on something else.

    L M V 3 Replies Last reply
    0
    • _ _Flaviu

      In a list control , which is message to edit an item , like in list-control of Windows Explorer ? It's an second click , but is not double-click ... if you know what I mean ... Thanks. P.S. Actually , I have edit procedure on dblclick event , but this one I need to use on something else.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      I am not sure exactly what your question is, as it is not very clear, but this[^] may be what you are looking for.

      The best things in life are not things.

      1 Reply Last reply
      0
      • _ _Flaviu

        In a list control , which is message to edit an item , like in list-control of Windows Explorer ? It's an second click , but is not double-click ... if you know what I mean ... Thanks. P.S. Actually , I have edit procedure on dblclick event , but this one I need to use on something else.

        M Offline
        M Offline
        Malli_S
        wrote on last edited by
        #3

        if I've perceived right, for the functionality you're expecting the list control should have the LVS_EDITLABELS list control style set. And parent window of the list control should handle LVN_ENDLABELEDIT message.

        [Delegates]      [Virtual Desktop]      [Tray Me !]
        -Malli...! :rose:****

        1 Reply Last reply
        0
        • _ _Flaviu

          In a list control , which is message to edit an item , like in list-control of Windows Explorer ? It's an second click , but is not double-click ... if you know what I mean ... Thanks. P.S. Actually , I have edit procedure on dblclick event , but this one I need to use on something else.

          V Offline
          V Offline
          venkatmakam
          wrote on last edited by
          #4

          i think you are talking about the following situation.when we want to rename an icon in explorer we will click the item first and after a while we will click it again to rename it.is this is you are talking about?.

          http://www.mono-project.com/Main\_Page

          _ 1 Reply Last reply
          0
          • V venkatmakam

            i think you are talking about the following situation.when we want to rename an icon in explorer we will click the item first and after a while we will click it again to rename it.is this is you are talking about?.

            http://www.mono-project.com/Main\_Page

            _ Offline
            _ Offline
            _Flaviu
            wrote on last edited by
            #5

            I was talking about listcontrol behaviuour with LVS_EDITLABELS style ... I was though is there a specific windows message for that behaviour . Thank you all , guys ! You are great ! It'a always to talk with you . Best wishes !

            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