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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. how to get Coloumns counts of ListView using SendMessage()

how to get Coloumns counts of ListView using SendMessage()

Scheduled Pinned Locked Moved C#
jsontutorial
5 Posts 2 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
    Farhan Ali
    wrote on last edited by
    #1

    Asalam o Alaikum: i want to get coloumns count from listview using SendMessage() Api function. can anybody tell me about this. Thanx

    CPalliniC 1 Reply Last reply
    0
    • F Farhan Ali

      Asalam o Alaikum: i want to get coloumns count from listview using SendMessage() Api function. can anybody tell me about this. Thanx

      CPalliniC Offline
      CPalliniC Offline
      CPallini
      wrote on last edited by
      #2

      Have you missed the right forum, haven't you? :)

      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.

      In testa che avete, signor di Ceprano?

      F 1 Reply Last reply
      0
      • CPalliniC CPallini

        Have you missed the right forum, haven't you? :)

        If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.

        F Offline
        F Offline
        Farhan Ali
        wrote on last edited by
        #3

        how this is a wrong forum tell me???????

        CPalliniC 1 Reply Last reply
        0
        • F Farhan Ali

          how this is a wrong forum tell me???????

          CPalliniC Offline
          CPalliniC Offline
          CPallini
          wrote on last edited by
          #4

          Because the ListView (of Windows Forms) has the Columns.Count property, i.e. there's no need to use SendMessage API function. :)

          If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.

          In testa che avete, signor di Ceprano?

          F 1 Reply Last reply
          0
          • CPalliniC CPallini

            Because the ListView (of Windows Forms) has the Columns.Count property, i.e. there's no need to use SendMessage API function. :)

            If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.

            F Offline
            F Offline
            Farhan Ali
            wrote on last edited by
            #5

            you are right but what about the situation when you are retrieving data from one application to other. we have to use SendMessage() there.

            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