Click here to Skip to main content
15,910,277 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CFile and read Pin
jmkhael30-Sep-02 5:52
jmkhael30-Sep-02 5:52 
GeneralRe: CFile and read Pin
jmkhael30-Sep-02 5:58
jmkhael30-Sep-02 5:58 
GeneralRe: CFile and read Pin
ns30-Sep-02 6:05
ns30-Sep-02 6:05 
QuestionWrite to Excel File ??? Pin
Nitron30-Sep-02 5:32
Nitron30-Sep-02 5:32 
AnswerRe: Write to Excel File ??? Pin
Stephane Rodriguez.30-Sep-02 5:44
Stephane Rodriguez.30-Sep-02 5:44 
GeneralRe: Write to Excel File ??? Pin
Nitron30-Sep-02 6:01
Nitron30-Sep-02 6:01 
AnswerRe: Write to Excel File ??? Pin
TyMatthews30-Sep-02 6:23
TyMatthews30-Sep-02 6:23 
GeneralMultiSelect CFileDialog (Open) Pin
ns30-Sep-02 5:14
ns30-Sep-02 5:14 
GeneralRe: MultiSelect CFileDialog (Open) Pin
Ravi Bhavnani30-Sep-02 5:17
professionalRavi Bhavnani30-Sep-02 5:17 
GeneralRe: MultiSelect CFileDialog (Open) Pin
jmkhael30-Sep-02 5:17
jmkhael30-Sep-02 5:17 
GeneralRe: MultiSelect CFileDialog (Open) Pin
Lakitu30-Sep-02 5:17
Lakitu30-Sep-02 5:17 
GeneralThanks everyone!!! Pin
ns30-Sep-02 5:26
ns30-Sep-02 5:26 
Generalshow text in statusbar Pin
jafrazee30-Sep-02 4:43
jafrazee30-Sep-02 4:43 
GeneralRe: show text in statusbar Pin
Jon Hulatt30-Sep-02 5:09
Jon Hulatt30-Sep-02 5:09 
GeneralRe: show text in statusbar Pin
jafrazee30-Sep-02 5:18
jafrazee30-Sep-02 5:18 
GeneralRe: show text in statusbar Pin
Jon Hulatt30-Sep-02 5:37
Jon Hulatt30-Sep-02 5:37 
In short, no, you can't update the status bar. To update the status bar, at the end of the day, involves sending a message to the status bar itself. There will be no cpu timeslice for that to happen if your one and only thread is blocked.

That is the perfect case for a worker thread. If your user was doing a batch of 5,000 documents each taking 1s, he's going to be waiting a long time. you need to give him a cancel button- and you can't handle the click of the button if your main thread is busy doing scanning.

someone else please back me up on this! or point me out if i'm wrong.


Signature space for rent. Apply by email to....
GeneralRe: show text in statusbar Pin
jafrazee30-Sep-02 6:25
jafrazee30-Sep-02 6:25 
GeneralRe: show text in statusbar Pin
jmkhael30-Sep-02 6:52
jmkhael30-Sep-02 6:52 
GeneralRe: show text in statusbar Pin
jmkhael30-Sep-02 5:31
jmkhael30-Sep-02 5:31 
GeneralCFileDialog question Pin
Brakanjan30-Sep-02 4:38
Brakanjan30-Sep-02 4:38 
GeneralRe: CFileDialog question Pin
jmkhael30-Sep-02 5:04
jmkhael30-Sep-02 5:04 
GeneralRe: CFileDialog question Pin
Brakanjan30-Sep-02 5:26
Brakanjan30-Sep-02 5:26 
Generalcatch block and 'return' Pin
ns30-Sep-02 4:33
ns30-Sep-02 4:33 
GeneralRe: catch block and 'return' Pin
Chris Losinger30-Sep-02 4:38
professionalChris Losinger30-Sep-02 4:38 
GeneralRe: catch block and 'return' Pin
ns30-Sep-02 4:48
ns30-Sep-02 4:48 

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.