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 to put checkboxes in any column of ListVIew Control in mfc.?

How to put checkboxes in any column of ListVIew Control in mfc.?

Scheduled Pinned Locked Moved C / C++ / MFC
c++helptutorialquestion
3 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.
  • M Offline
    M Offline
    mbatra31
    wrote on last edited by
    #1

    Hi, I have a list control on a dialog box. I use

    LVS_EX_CHECKBOXES

    functionality to put check boxes in the list control. I want to put the checkboxes in any other column of list control. How it can be implemented. Please share any sample code if you have. Any help will be appreciated. Regards, Mbatra

    _ _ 2 Replies Last reply
    0
    • M mbatra31

      Hi, I have a list control on a dialog box. I use

      LVS_EX_CHECKBOXES

      functionality to put check boxes in the list control. I want to put the checkboxes in any other column of list control. How it can be implemented. Please share any sample code if you have. Any help will be appreciated. Regards, Mbatra

      _ Offline
      _ Offline
      _Superman_
      wrote on last edited by
      #2

      These articles should be able to help you out - XListCtrl - A custom-draw list control with subitem formatting[^] CQuickList[^]

      «_Superman_»  _I love work. It gives me something to do between weekends.

      _Microsoft MVP (Visual C++) (October 2009 - September 2013)

      Polymorphism in C

      1 Reply Last reply
      0
      • M mbatra31

        Hi, I have a list control on a dialog box. I use

        LVS_EX_CHECKBOXES

        functionality to put check boxes in the list control. I want to put the checkboxes in any other column of list control. How it can be implemented. Please share any sample code if you have. Any help will be appreciated. Regards, Mbatra

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

        If you want to have a single column with checkboxes, you may rearrange the order of the columns, in such way to have checkboxes on the desired column ... :) You can also check here[^], on this list you can put any kind of control, on any column ...

        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