Click here to Skip to main content
15,886,919 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Question[Done, may not good enough] GDI+ How to set a region without its constructor? Pin
followait10-Dec-07 20:43
followait10-Dec-07 20:43 
AnswerRe: [Done, may not good enough] GDI+ How to set a region without its constructor? Pin
Mark Salsbery11-Dec-07 6:15
Mark Salsbery11-Dec-07 6:15 
GeneralDeny Taking Ownership Pin
narayanagvs10-Dec-07 19:52
narayanagvs10-Dec-07 19:52 
GeneralProblem using sleep function. [modified] Pin
nitin310-Dec-07 19:21
nitin310-Dec-07 19:21 
GeneralRe: Problem using sleep function. Pin
Llasus10-Dec-07 20:11
Llasus10-Dec-07 20:11 
GeneralRe: Problem using sleep function. Pin
Llasus10-Dec-07 20:53
Llasus10-Dec-07 20:53 
GeneralRe: Problem using sleep function. Pin
Cedric Moonen10-Dec-07 21:09
Cedric Moonen10-Dec-07 21:09 
GeneralRe: Problem using sleep function. Pin
krmed11-Dec-07 2:02
krmed11-Dec-07 2:02 
You should be able to solve this by a minor modification to your ProgressFunc:
void  ProgressFunc(HWND hwnd , char* progress )
{
	SetWindowText( hWnd , progress ) ;  //Update progress text by changing window title
	UpdateWindow(hWnd);
}


As mentioned by others, the sleep is generally not a good idea. I'm not sure why you say a timer won't work, but that's a better choice.

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

GeneralWindows Service Help [modified] Pin
narayanagvs10-Dec-07 19:04
narayanagvs10-Dec-07 19:04 
GeneralRe: Windows Service Help Pin
JudyL_MD11-Dec-07 3:40
JudyL_MD11-Dec-07 3:40 
Generalexplicit keyword Pin
George_George10-Dec-07 18:58
George_George10-Dec-07 18:58 
GeneralRe: explicit keyword Pin
Don Box10-Dec-07 19:14
Don Box10-Dec-07 19:14 
GeneralRe: explicit keyword Pin
George_George10-Dec-07 20:24
George_George10-Dec-07 20:24 
GeneralMore info Pin
Vince Rojas10-Dec-07 19:42
Vince Rojas10-Dec-07 19:42 
GeneralRe: More info Pin
George_George10-Dec-07 20:23
George_George10-Dec-07 20:23 
GeneralRe: explicit keyword Pin
Cedric Moonen10-Dec-07 21:00
Cedric Moonen10-Dec-07 21:00 
GeneralRe: explicit keyword Pin
George_George10-Dec-07 21:10
George_George10-Dec-07 21:10 
GeneralRe: explicit keyword Pin
Cedric Moonen10-Dec-07 21:17
Cedric Moonen10-Dec-07 21:17 
GeneralRe: explicit keyword Pin
George_George10-Dec-07 21:33
George_George10-Dec-07 21:33 
GeneralRe: explicit keyword Pin
Nelek10-Dec-07 23:36
protectorNelek10-Dec-07 23:36 
GeneralRe: explicit keyword Pin
George_George11-Dec-07 0:14
George_George11-Dec-07 0:14 
GeneralRe: explicit keyword Pin
Nelek11-Dec-07 1:23
protectorNelek11-Dec-07 1:23 
GeneralRe: explicit keyword Pin
George_George11-Dec-07 1:41
George_George11-Dec-07 1:41 
GeneralRe: explicit keyword Pin
Nelek10-Dec-07 23:27
protectorNelek10-Dec-07 23:27 
Questionhow to use MFC data Types in win 32 dll Pin
kmani_soft10-Dec-07 18:57
kmani_soft10-Dec-07 18:57 

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.