Click here to Skip to main content
15,920,513 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralSaving PowerpointSlide as Bitmap From a Win32 Api based Application Pin
niloy5-Dec-07 18:20
niloy5-Dec-07 18:20 
Questionabout pdf library. Pin
keyto5-Dec-07 18:12
keyto5-Dec-07 18:12 
GeneralRe: about pdf library. Pin
Hamid_RT5-Dec-07 18:29
Hamid_RT5-Dec-07 18:29 
QuestionRe: about pdf library. Pin
keyto5-Dec-07 19:05
keyto5-Dec-07 19:05 
GeneralFill CListCtrl with Images, about 20 images, performance problem Pin
followait5-Dec-07 17:09
followait5-Dec-07 17:09 
GeneralRe: Fill CListCtrl with Images, about 20 images, performance problem Pin
Hamid_RT5-Dec-07 18:28
Hamid_RT5-Dec-07 18:28 
GeneralRe: Fill CListCtrl with Images, about 20 images, performance problem Pin
followait5-Dec-07 19:16
followait5-Dec-07 19:16 
GeneralRe: Fill CListCtrl with Images, about 20 images, performance problem Pin
Hamid_RT6-Dec-07 0:18
Hamid_RT6-Dec-07 0:18 
GeneralRe: Fill CListCtrl with Images, about 20 images, performance problem Pin
Naveen5-Dec-07 18:50
Naveen5-Dec-07 18:50 
GeneralRe: Fill CListCtrl with Images, about 20 images, performance problem Pin
followait5-Dec-07 19:15
followait5-Dec-07 19:15 
GeneralRe: Fill CListCtrl with Images, about 20 images, performance problem Pin
Hamid_RT6-Dec-07 0:18
Hamid_RT6-Dec-07 0:18 
GeneralRe: Fill CListCtrl with Images, about 20 images, performance problem Pin
ThatsAlok5-Dec-07 19:43
ThatsAlok5-Dec-07 19:43 
GeneralRe: Fill CListCtrl with Images, about 20 images, performance problem Pin
followait5-Dec-07 21:36
followait5-Dec-07 21:36 
GeneralRe: Fill CListCtrl with Images, about 20 images, performance problem Pin
David Crow6-Dec-07 4:44
David Crow6-Dec-07 4:44 
It seems you are doing two things in the while() loop. Why not separate the "add images to list" and "add items to control" into two while() loop? If that is not feasible, then you might want to consider a secondary thread for this so that the UI remains responsive.

Another thing to try would be to call SetRedraw(FALSE) before the "add items to the list" code.



"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman

"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne



GeneralRe: Fill CListCtrl with Images, about 20 images, performance problem Pin
followait7-Dec-07 4:32
followait7-Dec-07 4:32 
Generali have some question about api MOUSE event. Pin
Jung Seng Won5-Dec-07 16:11
Jung Seng Won5-Dec-07 16:11 
GeneralRe: i have some question about api MOUSE event. Pin
followait5-Dec-07 17:20
followait5-Dec-07 17:20 
GeneralRe: i have some question about api MOUSE event. Pin
Vince Rojas5-Dec-07 18:16
Vince Rojas5-Dec-07 18:16 
GeneralRe: i have some question about api MOUSE event. Pin
Jung Seng Won5-Dec-07 18:57
Jung Seng Won5-Dec-07 18:57 
Generalusing C++ to parse HTML Pin
Tom Paronis5-Dec-07 13:43
Tom Paronis5-Dec-07 13:43 
GeneralRe: using C++ to parse HTML Pin
Hamid_RT5-Dec-07 18:34
Hamid_RT5-Dec-07 18:34 
GeneralRe: using C++ to parse HTML Pin
Tom Paronis6-Dec-07 3:11
Tom Paronis6-Dec-07 3:11 
Generalabusing exceptions Pin
quailsafe5-Dec-07 12:23
quailsafe5-Dec-07 12:23 
GeneralRe: abusing exceptions Pin
Luc Pattyn5-Dec-07 14:06
sitebuilderLuc Pattyn5-Dec-07 14:06 
GeneralRe: abusing exceptions Pin
quailsafe5-Dec-07 14:37
quailsafe5-Dec-07 14:37 

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.