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. Buttons in CListCtrl icon style

Buttons in CListCtrl icon style

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

    Hi, I need to create a CListCtrl icon style with buttons instead of the icons. Does anyone know how to do this? I have looked for articles on this, but can't seem to find anything. Any help appreciated, Royce

    R 1 Reply Last reply
    0
    • R RoyceF

      Hi, I need to create a CListCtrl icon style with buttons instead of the icons. Does anyone know how to do this? I have looked for articles on this, but can't seem to find anything. Any help appreciated, Royce

      R Offline
      R Offline
      Rajesh R Subramanian
      wrote on last edited by
      #2

      I really do not understand why would you need a button in a CListCtrl. I haven't seen anything like that, however this[^] or this[^] may help you. Regards, Rajesh R. Subramanian. You have an apple and me too. We exchange those and We have an apple each. You have an idea and me too. We exchange those and We have two ideas each.

      R 1 Reply Last reply
      0
      • R Rajesh R Subramanian

        I really do not understand why would you need a button in a CListCtrl. I haven't seen anything like that, however this[^] or this[^] may help you. Regards, Rajesh R. Subramanian. You have an apple and me too. We exchange those and We have an apple each. You have an idea and me too. We exchange those and We have two ideas each.

        R Offline
        R Offline
        RoyceF
        wrote on last edited by
        #3

        Rajesh, Thanks for your help. However, both of these articles (and all of the others that I have seen) address custom drawing in a report or list style CListCtrl, but not in an icon style control. I need to the behavior of the icon style, but with buttons instead of the icons. My application needs to allow a co-pilot or flight engineer to push a button with a gloved finger. Each button, when pushed will invoke functionality specific to the button. The bitmap button works well for this purpose as I need to change the button's appearance, i.e., bitmap, text, background color, etc., depending on the aircraft selected. (I have tried to put a screen shot here to show you, but couldn't get the GIF to show up.) Royce

        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