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. CListCtrl w/ multiple attributes

CListCtrl w/ multiple attributes

Scheduled Pinned Locked Moved C / C++ / MFC
questioncssdesignjsontutorial
2 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.
  • J Offline
    J Offline
    john john mackey
    wrote on last edited by
    #1

    Seeking advice... I want to use a CListCtrl to display assignment attributes I make for one or more files being parsed. I have an interface design for a parsing application that will accept one or more files, define attributes specific to each file, and then show in a CListCtrl the current assignments for a specific file. My concern is how to maintain and refresh (quickly) the CListCtrl when I change from each file I have collected info already. More on my design: For each file, I identify what is to be parsed and where in a data structure it goes. This is basically a mapping and is displayed as a grid:

    Field # Data Item Units
    1 money USD
    2 SSN text-ID
    3 FirstName text
    ...

    Each file can be different, and when I want to look at the attributes for each file I already configured, the mapping is displayed quickly in my CListCtrl. Any advice? Thanks, Johnny

    M 1 Reply Last reply
    0
    • J john john mackey

      Seeking advice... I want to use a CListCtrl to display assignment attributes I make for one or more files being parsed. I have an interface design for a parsing application that will accept one or more files, define attributes specific to each file, and then show in a CListCtrl the current assignments for a specific file. My concern is how to maintain and refresh (quickly) the CListCtrl when I change from each file I have collected info already. More on my design: For each file, I identify what is to be parsed and where in a data structure it goes. This is basically a mapping and is displayed as a grid:

      Field # Data Item Units
      1 money USD
      2 SSN text-ID
      3 FirstName text
      ...

      Each file can be different, and when I want to look at the attributes for each file I already configured, the mapping is displayed quickly in my CListCtrl. Any advice? Thanks, Johnny

      M Offline
      M Offline
      Mike Danberg
      wrote on last edited by
      #2

      Hey, I might be able to help you if you still haven't figured it out. I've worked a bit with the CListCtrl and could at least help you out in finding a solution. You'll have to explain the problem a little more. From what I gather, the problem you have is that when you load something into the List Control it's taking quite a bit of time, in effect hanging the app for 3 or 4 seconds. I have that problem in one of my applications which I haven't bothered to fix, which is mainly why I want to help. Anyway let me know if that is the problem you're talking about and if so we can try to figure out a better way of loading data into the list control. I have a few ideas, but not sure whether they will work or not. Mike

      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