Click here to Skip to main content
15,905,071 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: execute .bat file Pin
Hamid_RT9-Sep-08 8:22
Hamid_RT9-Sep-08 8:22 
QuestionRegistry Key Problem Pin
Dhiraj kumar Saini9-Sep-08 1:28
Dhiraj kumar Saini9-Sep-08 1:28 
JokeRe: Registry Key Problem Pin
CPallini9-Sep-08 1:37
mveCPallini9-Sep-08 1:37 
GeneralRe: Registry Key Problem Pin
Dhiraj kumar Saini9-Sep-08 1:43
Dhiraj kumar Saini9-Sep-08 1:43 
GeneralRe: Registry Key Problem Pin
Rajesh R Subramanian9-Sep-08 2:33
professionalRajesh R Subramanian9-Sep-08 2:33 
AnswerRe: Registry Key Problem Pin
_AnsHUMAN_ 9-Sep-08 1:41
_AnsHUMAN_ 9-Sep-08 1:41 
GeneralRe: Registry Key Problem Pin
Dhiraj kumar Saini9-Sep-08 1:49
Dhiraj kumar Saini9-Sep-08 1:49 
AnswerRe: Registry Key Problem Pin
Rajesh R Subramanian9-Sep-08 2:53
professionalRajesh R Subramanian9-Sep-08 2:53 
GeneralRe: Registry Key Problem Pin
Dhiraj kumar Saini9-Sep-08 3:08
Dhiraj kumar Saini9-Sep-08 3:08 
QuestionAfter restoring the MFC Ribbon application I am unable to move the frame(reposisition). Pin
Ashok_kavi9-Sep-08 0:58
Ashok_kavi9-Sep-08 0:58 
QuestionWhat happens when we lock same critical section twice? Pin
SandeepNK9-Sep-08 0:24
SandeepNK9-Sep-08 0:24 
AnswerRe: What happens when we lock same critical section twice? Pin
SandipG 9-Sep-08 0:28
SandipG 9-Sep-08 0:28 
GeneralRe: What happens when we lock same critical section twice? Pin
SandeepNK9-Sep-08 0:33
SandeepNK9-Sep-08 0:33 
AnswerRe: What happens when we lock same critical section twice? Pin
Nibu babu thomas9-Sep-08 2:05
Nibu babu thomas9-Sep-08 2:05 
AnswerRe: What happens when we lock same critical section twice? Pin
Iain Clarke, Warrior Programmer9-Sep-08 4:15
Iain Clarke, Warrior Programmer9-Sep-08 4:15 
AnswerRe: What happens when we lock same critical section twice? Pin
SRKSHOME9-Sep-08 20:31
SRKSHOME9-Sep-08 20:31 
GeneralRe: What happens when we lock same critical section twice? Pin
SRKSHOME9-Sep-08 20:50
SRKSHOME9-Sep-08 20:50 
QuestionCProgressBarCtrl question Pin
monsieur_jj8-Sep-08 23:57
monsieur_jj8-Sep-08 23:57 
AnswerRe: CProgressBarCtrl question Pin
SandipG 9-Sep-08 0:01
SandipG 9-Sep-08 0:01 
GeneralRe: CProgressBarCtrl question Pin
CPallini9-Sep-08 0:09
mveCPallini9-Sep-08 0:09 
GeneralRe: CProgressBarCtrl question Pin
SandipG 9-Sep-08 0:19
SandipG 9-Sep-08 0:19 
AnswerRe: CProgressBarCtrl question Pin
krmed9-Sep-08 2:09
krmed9-Sep-08 2:09 
As mentioned by others you should not access UI components from your thread.

However, it appears that you're really just using SetPos, which should be OK. One thing you can try is after every call to
ProgressBar.SetPos();
add a call to
ProgressBar.UpdateWindow();


UpdateWindow() sends a message directly to the window, bypassing the normal message queue.

Hope that helps.

Karl - WK5M
PP-ASEL-IA (N43CS)
PGP Key: 0xDB02E193
PGP Key Fingerprint: 8F06 5A2E 2735 892B 821C 871A 0411 94EA DB02 E193

QuestionZooming Problem Pin
Bernaad8-Sep-08 23:31
Bernaad8-Sep-08 23:31 
AnswerRe: Zooming Problem Pin
Rane8-Sep-08 23:44
Rane8-Sep-08 23:44 
QuestionHow and why does the output vary for pre and post increment operators? Pin
Member 55028798-Sep-08 23:27
Member 55028798-Sep-08 23:27 

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.