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