Click here to Skip to main content
15,914,642 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralThread Hijack Successful! Pin
Rajesh R Subramanian6-May-08 3:08
professionalRajesh R Subramanian6-May-08 3:08 
GeneralThread Hijack Successful! Pin
CPallini6-May-08 3:19
mveCPallini6-May-08 3:19 
GeneralRe: Thread Hijack Successful! Pin
ThatsAlok1-Jul-09 0:36
ThatsAlok1-Jul-09 0:36 
GeneralRe: CList::RemoveAt Pin
Nelek6-May-08 3:21
protectorNelek6-May-08 3:21 
GeneralRe: CList::RemoveAt Pin
Hamid_RT6-May-08 2:30
Hamid_RT6-May-08 2:30 
GeneralRe: CList::RemoveAt Pin
CPallini6-May-08 2:54
mveCPallini6-May-08 2:54 
Questionprogressbar in statusbar Pin
Mohanraj D6-May-08 1:56
Mohanraj D6-May-08 1:56 
AnswerRe: progressbar in statusbar Pin
Cedric Moonen6-May-08 2:03
Cedric Moonen6-May-08 2:03 
The problem is that you are stepping the progress bar in a loop with a sleep between each step. It can't work because no messages are processed anymore (the message loop is in the same thread). So, your progress bar won't step and your UI will be freezed during that time.
What you need to do is to have a separate thread that does the processing (here, the for loop) and send a user defined message to your window so that it can step the progress bar.

Cédric Moonen
Software developer

Charting control [v1.4]

AnswerRe: progressbar in statusbar Pin
toxcct6-May-08 2:07
toxcct6-May-08 2:07 
GeneralRe: progressbar in statusbar Pin
Rajesh R Subramanian6-May-08 2:09
professionalRajesh R Subramanian6-May-08 2:09 
GeneralRe: progressbar in statusbar Pin
toxcct6-May-08 2:15
toxcct6-May-08 2:15 
GeneralRe: progressbar in statusbar Pin
Rajesh R Subramanian6-May-08 2:22
professionalRajesh R Subramanian6-May-08 2:22 
GeneralRe: progressbar in statusbar Pin
Hamid_RT6-May-08 2:26
Hamid_RT6-May-08 2:26 
GeneralRe: progressbar in statusbar Pin
Mohanraj D6-May-08 2:50
Mohanraj D6-May-08 2:50 
GeneralRe: progressbar in statusbar Pin
Rajkumar R6-May-08 3:11
Rajkumar R6-May-08 3:11 
GeneralRe: progressbar in statusbar Pin
Hamid_RT6-May-08 3:16
Hamid_RT6-May-08 3:16 
Question[Message Deleted] Pin
Khalaris6-May-08 1:29
Khalaris6-May-08 1:29 
AnswerRe: Error in VC++ generated code Pin
Rajesh R Subramanian6-May-08 1:34
professionalRajesh R Subramanian6-May-08 1:34 
GeneralRe: Error in VC++ generated code Pin
toxcct6-May-08 1:45
toxcct6-May-08 1:45 
AnswerRe: [Message Deleted] Pin
Hamid_RT6-May-08 2:24
Hamid_RT6-May-08 2:24 
GeneralPlease delete your reply. Pin
CPallini6-May-08 2:28
mveCPallini6-May-08 2:28 
Questionrunning single instance of a exe Pin
Le@rner6-May-08 1:01
Le@rner6-May-08 1:01 
AnswerRe: running single instance of a exe Pin
CPallini6-May-08 1:07
mveCPallini6-May-08 1:07 
GeneralRe: running single instance of a exe Pin
Rajesh R Subramanian6-May-08 1:10
professionalRajesh R Subramanian6-May-08 1:10 
GeneralRe: running single instance of a exe Pin
CPallini6-May-08 1:15
mveCPallini6-May-08 1:15 

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.