Click here to Skip to main content
16,005,682 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem How to get All files from a Folder Pin
(Steven Hicks)n+125-Dec-03 9:18
(Steven Hicks)n+125-Dec-03 9:18 
GeneralDll Functions Name & parameters Pin
Ghasrfakhri25-Dec-03 6:32
Ghasrfakhri25-Dec-03 6:32 
GeneralRe: Dll Functions Name & parameters Pin
valikac25-Dec-03 7:02
valikac25-Dec-03 7:02 
GeneralRe: Dll Functions Name & parameters Pin
User 665825-Dec-03 7:03
User 665825-Dec-03 7:03 
GeneralRe: Dll Functions Name & parameters Pin
Sebastián Benítez25-Dec-03 7:53
Sebastián Benítez25-Dec-03 7:53 
GeneralProgress Bar Slowing Down Program Pin
shultas25-Dec-03 5:30
shultas25-Dec-03 5:30 
GeneralRe: Progress Bar Slowing Down Program Pin
PJ Arends25-Dec-03 9:21
professionalPJ Arends25-Dec-03 9:21 
GeneralRe: Progress Bar Slowing Down Program Pin
shultas25-Dec-03 12:34
shultas25-Dec-03 12:34 
In all honesty, at first I thought that this method would make the progress bar look somewhat "choppy", but I gave it a try anyways.

PERFECT results!

I did a check of how many times the While() loop was getting executed. Over 39,000 times. So I guess you could say that 39,000 calls to the SetPos would indeed slow the program down Blush | :O .... I just put a lil helper variable in there and called it every 2,000 passes and it blazes perfectly fast just like it did when there was no progress bar at all.

Thanks very much for your help. Just a dumb little thing like that I spent a solid hour trying to figure out what the problem was! I guess if you call SetPos(1000) ... SetPos(1500) ... SetPos(2000), out of 39000 tries, between 1000-1300 is the same bar (meaning the progress bar never gets updated to add another bar to it between those numbers), but when you call SetPos() it appears that it still takes some processor time (even though the bar never physically changes).

Thanks again!
GeneralRe: Progress Bar Slowing Down Program Pin
Michael Dunn25-Dec-03 19:20
sitebuilderMichael Dunn25-Dec-03 19:20 
Questionhow solve this debug erro? Pin
benben25-Dec-03 3:56
benben25-Dec-03 3:56 
AnswerRe: how solve this debug erro? Pin
Robert Kuster25-Dec-03 4:22
Robert Kuster25-Dec-03 4:22 
Generalthanks a lot Pin
benben28-Dec-03 20:31
benben28-Dec-03 20:31 
QuestionHow to detect network adapter status in windows2000/xp? Pin
hpudx24-Dec-03 22:02
hpudx24-Dec-03 22:02 
AnswerRe: How to detect network adapter status in windows2000/xp? Pin
valikac25-Dec-03 7:09
valikac25-Dec-03 7:09 
QuestionSaving Files in Win2000 as normal-user? Pin
fbaumgaertel24-Dec-03 21:21
fbaumgaertel24-Dec-03 21:21 
AnswerRe: Saving Files in Win2000 as normal-user? Pin
valikac25-Dec-03 7:10
valikac25-Dec-03 7:10 
GeneralChanging Windows Fonts Pin
vivek_mastishk24-Dec-03 21:01
vivek_mastishk24-Dec-03 21:01 
GeneralRe: Changing Windows Fonts Pin
Selvam R25-Dec-03 10:50
professionalSelvam R25-Dec-03 10:50 
QuestionAdd help button to dialog? Pin
xxhimanshu24-Dec-03 19:14
xxhimanshu24-Dec-03 19:14 
AnswerRe: Add help button to dialog? Pin
PJ Arends25-Dec-03 9:26
professionalPJ Arends25-Dec-03 9:26 
GeneralCalling functions in a C# dll from C++ code Pin
Member 78143724-Dec-03 17:02
Member 78143724-Dec-03 17:02 
GeneralRe: Calling functions in a C# dll from C++ code Pin
wb24-Dec-03 18:33
wb24-Dec-03 18:33 
GeneralStop keyevents and mesages Pin
Jarek G24-Dec-03 16:45
Jarek G24-Dec-03 16:45 
GeneralRe: Stop keyevents and mesages Pin
Monty224-Dec-03 20:08
Monty224-Dec-03 20:08 
GeneralRe: Stop keyevents and mesages Pin
Robert Kuster24-Dec-03 21:53
Robert Kuster24-Dec-03 21:53 

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.