Click here to Skip to main content
15,889,833 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Sorting Error in CListCtrl Pin
pc_dev22-May-07 0:46
pc_dev22-May-07 0:46 
QuestionScrollbar range Pin
Aint17-May-07 16:53
Aint17-May-07 16:53 
AnswerRe: Scrollbar range Pin
Nelek17-May-07 20:31
protectorNelek17-May-07 20:31 
GeneralRe: Scrollbar range Pin
Aint17-May-07 22:08
Aint17-May-07 22:08 
GeneralRe: Scrollbar range Pin
Nelek18-May-07 1:06
protectorNelek18-May-07 1:06 
Question3-dimession image show and processing Pin
gentleguy17-May-07 16:53
gentleguy17-May-07 16:53 
AnswerRe: 3-dimession image show and processing Pin
Hamid_RT17-May-07 19:21
Hamid_RT17-May-07 19:21 
QuestionProgress Bar Range Question Pin
JBAK_CP17-May-07 13:47
JBAK_CP17-May-07 13:47 
I have a progress bar that I would like to update in my dialog box during a process, but when creating a progress bar, I have to supply the min & max for the range. Unfortunately I do not know what the max for the range should be. I.e. I don't want to set the max to 100, but my process finishes in 50 steps, leaving the progress bar halfway done....

To explain what this is used for, I open a text file (~1MB), and in a while loop extract the contents of the file, and processing that data....and I want to update the progress bar during this step

So my question is, is there anyway I can get the file size of the file I am opening, and figure out how many bytes I have processed so far, and set that as a percentage in the progress bar?

Any help would be greatly apperciated. Thanks!
AnswerRe: Progress Bar Range Question Pin
PJ Arends17-May-07 16:45
professionalPJ Arends17-May-07 16:45 
AnswerRe: Progress Bar Range Question Pin
Sameerkumar Namdeo17-May-07 17:06
Sameerkumar Namdeo17-May-07 17:06 
Questionput a for( ) inside an if ( ) ? [modified] Pin
Immunity1817-May-07 12:36
Immunity1817-May-07 12:36 
AnswerRe: put a for( ) inside an if ( ) ? Pin
Christian Graus17-May-07 13:26
protectorChristian Graus17-May-07 13:26 
Questionweird call stack problem w/VC 6... Pin
Jesse Evans17-May-07 11:00
Jesse Evans17-May-07 11:00 
AnswerRe: weird call stack problem w/VC 6... Pin
Jonathan [Darka]18-May-07 5:08
professionalJonathan [Darka]18-May-07 5:08 
AnswerRe: weird call stack problem w/VC 6... Pin
cgreathouse18-May-07 5:39
cgreathouse18-May-07 5:39 
GeneralRe: weird call stack problem w/VC 6... Pin
Jesse Evans18-May-07 6:15
Jesse Evans18-May-07 6:15 
GeneralRe: weird call stack problem w/VC 6... Pin
Jesse Evans18-May-07 7:32
Jesse Evans18-May-07 7:32 
Questionif ( str.GetAt(i) != letter ) ? Pin
Immunity1817-May-07 10:38
Immunity1817-May-07 10:38 
AnswerRe: if ( str.GetAt(i) != letter ) ? Pin
Mark Salsbery17-May-07 11:59
Mark Salsbery17-May-07 11:59 
GeneralRe: if ( str.GetAt(i) != letter ) ? Pin
Immunity1817-May-07 12:05
Immunity1817-May-07 12:05 
QuestionSetting directory for .ncb/.suo/.aps files? Pin
dontknowitall17-May-07 9:49
dontknowitall17-May-07 9:49 
QuestionDifference between Debug and Release Pin
masnu17-May-07 9:41
masnu17-May-07 9:41 
AnswerRe: Difference between Debug and Release Pin
Nelek17-May-07 20:29
protectorNelek17-May-07 20:29 
GeneralRe: Difference between Debug and Release Pin
masnu18-May-07 5:22
masnu18-May-07 5:22 
AnswerRe: Difference between Debug and Release Pin
prasad_som17-May-07 21:04
prasad_som17-May-07 21:04 

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.