Click here to Skip to main content
16,004,924 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionvc++ 6.0 Pin
shiv@nand28-Dec-08 19:20
shiv@nand28-Dec-08 19:20 
AnswerRe: vc++ 6.0 Pin
Rajesh R Subramanian28-Dec-08 19:25
professionalRajesh R Subramanian28-Dec-08 19:25 
AnswerRe: vc++ 6.0 Pin
Jijo.Raj28-Dec-08 21:22
Jijo.Raj28-Dec-08 21:22 
AnswerRe: vc++ 6.0 Pin
CPallini29-Dec-08 1:03
mveCPallini29-Dec-08 1:03 
Questionresetting cprogressbar to zero Pin
parchibald28-Dec-08 19:09
parchibald28-Dec-08 19:09 
AnswerRe: resetting cprogressbar to zero Pin
Mark Salsbery29-Dec-08 5:03
Mark Salsbery29-Dec-08 5:03 
GeneralRe: resetting cprogressbar to zero Pin
parchibald29-Dec-08 5:24
parchibald29-Dec-08 5:24 
GeneralRe: resetting cprogressbar to zero Pin
Mark Salsbery29-Dec-08 5:31
Mark Salsbery29-Dec-08 5:31 
Either the operation is going faster than you can see it or you've
messed something up somewhere else.

This works for me on XP and Vista, from the UI thread with no
Invalidate/UpdateWindow necessary:
m_ProgressCtrl.SetRange(0,10);
for (int i = 0; i <= 10; i++)
{
    m_ProgressCtrl.SetPos(i);
    ::Sleep(750);
}


Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: resetting cprogressbar to zero Pin
parchibald29-Dec-08 5:53
parchibald29-Dec-08 5:53 
GeneralRe: resetting cprogressbar to zero Pin
Mark Salsbery29-Dec-08 6:07
Mark Salsbery29-Dec-08 6:07 
GeneralRe: resetting cprogressbar to zero Pin
parchibald29-Dec-08 7:47
parchibald29-Dec-08 7:47 
GeneralRe: resetting cprogressbar to zero Pin
Mark Salsbery29-Dec-08 6:12
Mark Salsbery29-Dec-08 6:12 
QuestionChanging Windows Vista control panel settings (control panel&gt;ease of access center&gt;optimize visual display&gt;make the focus rectangle thicker) Pin
tony_Udz28-Dec-08 19:08
tony_Udz28-Dec-08 19:08 
AnswerRe: Changing Windows Vista control panel settings (control panel&gt;ease of access center&gt;optimize visual display&gt;make the focus rectangle thicker) Pin
Hamid_RT28-Dec-08 19:30
Hamid_RT28-Dec-08 19:30 
GeneralRe: Changing Windows Vista control panel settings (control panel&gt;ease of access center&gt;optimize visual display&gt;make the focus rectangle thicker) Pin
tony_Udz28-Dec-08 19:48
tony_Udz28-Dec-08 19:48 
QuestionHow to retrofit C++ app to support B/S? Pin
kuibing28-Dec-08 19:01
kuibing28-Dec-08 19:01 
AnswerRe: How to retrofit C++ app to support B/S? Pin
Richard Andrew x6428-Dec-08 23:47
professionalRichard Andrew x6428-Dec-08 23:47 
QuestionUnable to Load Image Other than .bmp by LoadImage Function? [modified] Pin
Le@rner28-Dec-08 18:09
Le@rner28-Dec-08 18:09 
AnswerRe: Unable to Load Image Other than .bmp by LoadImage Function? Pin
Hamid_RT28-Dec-08 19:22
Hamid_RT28-Dec-08 19:22 
GeneralRe: Unable to Load Image Other than .bmp by LoadImage Function? Pin
Le@rner28-Dec-08 19:26
Le@rner28-Dec-08 19:26 
GeneralRe: Unable to Load Image Other than .bmp by LoadImage Function? Pin
Hamid_RT28-Dec-08 19:33
Hamid_RT28-Dec-08 19:33 
GeneralRe: Unable to Load Image Other than .bmp by LoadImage Function? [modified] Pin
Le@rner28-Dec-08 19:50
Le@rner28-Dec-08 19:50 
GeneralRe: Unable to Load Image Other than .bmp by LoadImage Function? Pin
Hamid_RT28-Dec-08 20:01
Hamid_RT28-Dec-08 20:01 
GeneralRe: Unable to Load Image Other than .bmp by LoadImage Function? Pin
Le@rner28-Dec-08 20:25
Le@rner28-Dec-08 20:25 
GeneralRe: Unable to Load Image Other than .bmp by LoadImage Function? Pin
Hamid_RT28-Dec-08 20:50
Hamid_RT28-Dec-08 20:50 

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.