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. Help with MFC controls

Help with MFC controls

Scheduled Pinned Locked Moved C / C++ / MFC
c++algorithmshelplearning
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.
  • D Offline
    D Offline
    Dustin Henry
    wrote on last edited by
    #1

    I am rather new to MFC and am currently trying to BS my way through it, but I am having a few problems. First, I am wanting to create a control that is similar to what you would find in Windows Task Manager (multi-column, vertical scrolling, selectable and sortable) but I can't seem to find the control that will work. Is this a modified ListBox or is it a custom control. I tried searching for it but don't really know what I'm looking for. Second, why doesn't my dialog use the theme of Windows. It does in the resource editor but not when run. I've tried googleing but again, I'm not really sure where I should be looking. Any help is appreciated. Thanks, Dustin

    M M D 3 Replies Last reply
    0
    • D Dustin Henry

      I am rather new to MFC and am currently trying to BS my way through it, but I am having a few problems. First, I am wanting to create a control that is similar to what you would find in Windows Task Manager (multi-column, vertical scrolling, selectable and sortable) but I can't seem to find the control that will work. Is this a modified ListBox or is it a custom control. I tried searching for it but don't really know what I'm looking for. Second, why doesn't my dialog use the theme of Windows. It does in the resource editor but not when run. I've tried googleing but again, I'm not really sure where I should be looking. Any help is appreciated. Thanks, Dustin

      M Offline
      M Offline
      Maximilien
      wrote on last edited by
      #2

      Have a look at the CListCtrl or better yet, the MFC Grid Control[^].


      Maximilien Lincourt Your Head A Splode - Strong Bad

      1 Reply Last reply
      0
      • D Dustin Henry

        I am rather new to MFC and am currently trying to BS my way through it, but I am having a few problems. First, I am wanting to create a control that is similar to what you would find in Windows Task Manager (multi-column, vertical scrolling, selectable and sortable) but I can't seem to find the control that will work. Is this a modified ListBox or is it a custom control. I tried searching for it but don't really know what I'm looking for. Second, why doesn't my dialog use the theme of Windows. It does in the resource editor but not when run. I've tried googleing but again, I'm not really sure where I should be looking. Any help is appreciated. Thanks, Dustin

        M Offline
        M Offline
        Mark Salsbery
        wrote on last edited by
        #3

        Dustin Henry wrote:

        I am wanting to create a control that is similar to what you would find in Windows Task Manager (multi-column, vertical scrolling, selectable and sortable) but I can't seem to find the control that will work. Is this a modified ListBox or is it a custom control.

        That's a List-View control: List-View Control Reference[^]

        "If you can dodge a wrench, you can dodge a ball."

        D 1 Reply Last reply
        0
        • M Mark Salsbery

          Dustin Henry wrote:

          I am wanting to create a control that is similar to what you would find in Windows Task Manager (multi-column, vertical scrolling, selectable and sortable) but I can't seem to find the control that will work. Is this a modified ListBox or is it a custom control.

          That's a List-View control: List-View Control Reference[^]

          "If you can dodge a wrench, you can dodge a ball."

          D Offline
          D Offline
          Dustin Henry
          wrote on last edited by
          #4

          That looks to be exactly what I was looking for. Thanks for the help.

          1 Reply Last reply
          0
          • D Dustin Henry

            I am rather new to MFC and am currently trying to BS my way through it, but I am having a few problems. First, I am wanting to create a control that is similar to what you would find in Windows Task Manager (multi-column, vertical scrolling, selectable and sortable) but I can't seem to find the control that will work. Is this a modified ListBox or is it a custom control. I tried searching for it but don't really know what I'm looking for. Second, why doesn't my dialog use the theme of Windows. It does in the resource editor but not when run. I've tried googleing but again, I'm not really sure where I should be looking. Any help is appreciated. Thanks, Dustin

            D Offline
            D Offline
            David Crow
            wrote on last edited by
            #5

            Dustin Henry wrote:

            Is this a modified ListBox or is it a custom control.

            Using Spy++, you'll note that it is a window belonging to the "SysListView32" class.


            "Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

            "Judge not by the eye but by the heart." - Native American Proverb

            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