Click here to Skip to main content
15,906,335 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: checkbox check problem Pin
Jose Lamas Rios7-Jul-05 8:20
Jose Lamas Rios7-Jul-05 8:20 
GeneralRe: checkbox check problem Pin
c. s.7-Jul-05 8:18
c. s.7-Jul-05 8:18 
GeneralRe: checkbox check problem Pin
Jose Lamas Rios7-Jul-05 8:40
Jose Lamas Rios7-Jul-05 8:40 
GeneralScroll Messages from ListCtrl Pin
Jethro637-Jul-05 7:08
Jethro637-Jul-05 7:08 
GeneralRe: Scroll Messages from ListCtrl Pin
Jose Lamas Rios7-Jul-05 8:13
Jose Lamas Rios7-Jul-05 8:13 
GeneralRe: Scroll Messages from ListCtrl Pin
Jethro637-Jul-05 9:52
Jethro637-Jul-05 9:52 
GeneralRe: Scroll Messages from ListCtrl Pin
Jose Lamas Rios7-Jul-05 10:05
Jose Lamas Rios7-Jul-05 10:05 
GeneralRe: Scroll Messages from ListCtrl Pin
Jethro637-Jul-05 15:39
Jethro637-Jul-05 15:39 
Hi Jose:

My problem is that I must provide a list control in report mode that displays records with about five sub-items per row. This view must potentially display a LARGE number of records, sometimes over 200,000. Normally, if the record count was lower, I would just insert all the rows I need and fill out all of the records then the user is free to scroll away. But when the number of records is large, it takes WAY too long to initialize all of those records.

I found that if I simply create the number of rows that I need without filling out any of the record data in the columns, then the amount of time it takes is tolerable (like 30 seconds with a friendly progress bar to amuse the user in the mean time).

My next move, if I can figure out how to do this, is to simply fill out only the records that are currently visible in the view window. Each time the user scrolls by whatever means, I would fill out any rows that become exposed but have not been filled out. This all hinges on me being notified when the user has caused the list control to scroll and to then find out which rows are now visible.

That's my plan. Feel free to rip it apart.

Thanks,
Mark
GeneralRe: Scroll Messages from ListCtrl Pin
Jose Lamas Rios7-Jul-05 15:57
Jose Lamas Rios7-Jul-05 15:57 
GeneralRe: Scroll Messages from ListCtrl Pin
Jethro637-Jul-05 16:04
Jethro637-Jul-05 16:04 
Generalmenu check problem Pin
Tom Wright7-Jul-05 6:56
Tom Wright7-Jul-05 6:56 
GeneralRe: menu check problem Pin
Jose Lamas Rios7-Jul-05 8:31
Jose Lamas Rios7-Jul-05 8:31 
GeneralRe: menu check problem Pin
Tom Wright7-Jul-05 11:00
Tom Wright7-Jul-05 11:00 
GeneralFTP Download Pin
Ash817-Jul-05 6:35
Ash817-Jul-05 6:35 
GeneralCommunication between class Pin
antoine_david7-Jul-05 5:34
antoine_david7-Jul-05 5:34 
GeneralRe: Communication between class Pin
David Crow7-Jul-05 5:43
David Crow7-Jul-05 5:43 
GeneralRe: Communication between class Pin
antoine_david7-Jul-05 6:08
antoine_david7-Jul-05 6:08 
GeneralRe: Communication between class Pin
David Crow7-Jul-05 6:16
David Crow7-Jul-05 6:16 
GeneralRe: Communication between class Pin
S. Senthil Kumar7-Jul-05 6:24
S. Senthil Kumar7-Jul-05 6:24 
GeneralRe: Communication between class Pin
antoine_david7-Jul-05 20:49
antoine_david7-Jul-05 20:49 
Generalgdiplus Image Pin
Abhiman7-Jul-05 4:31
Abhiman7-Jul-05 4:31 
GeneralMfc42.dll Pin
TUMB7-Jul-05 4:30
TUMB7-Jul-05 4:30 
GeneralRe: Mfc42.dll Pin
David Crow7-Jul-05 4:54
David Crow7-Jul-05 4:54 
GeneralTried dialog hidden technique from dlgboxtricks but it didn't work.... Pin
balaclavabob7-Jul-05 4:26
balaclavabob7-Jul-05 4:26 
GeneralRe: Tried dialog hidden technique from dlgboxtricks but it didn't work.... Pin
David Crow7-Jul-05 5:03
David Crow7-Jul-05 5:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.