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. Column Count ?

Column Count ?

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
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.
  • K Offline
    K Offline
    kk tvm
    wrote on last edited by
    #1

    Hi Friends How to get count of columns in a CListCtrl

    -RisKhan-

    M H 2 Replies Last reply
    0
    • K kk tvm

      Hi Friends How to get count of columns in a CListCtrl

      -RisKhan-

      M Offline
      M Offline
      Mukesh Kumar
      wrote on last edited by
      #2

      Use Header Control of CListCtrl. For Example:

      CListCtrl* pmyListCtrl;
      int nColumnCount = pmyListCtrl->GetHeaderCtrl()->GetItemCount();

      Mukesh Kumar Software Engineer

      K 1 Reply Last reply
      0
      • M Mukesh Kumar

        Use Header Control of CListCtrl. For Example:

        CListCtrl* pmyListCtrl;
        int nColumnCount = pmyListCtrl->GetHeaderCtrl()->GetItemCount();

        Mukesh Kumar Software Engineer

        K Offline
        K Offline
        kk tvm
        wrote on last edited by
        #3

        thanks

        -RisKhan-

        1 Reply Last reply
        0
        • K kk tvm

          Hi Friends How to get count of columns in a CListCtrl

          -RisKhan-

          H Offline
          H Offline
          Hamid Taebi
          wrote on last edited by
          #4

          And see Using the List Control[^] Matt Weagle wrote:"Everything you need to know about using the standard list control in your applications".

          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