Click here to Skip to main content
15,887,083 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: stop main thread and resume later Pin
ShiXiangYang11-Mar-09 20:52
ShiXiangYang11-Mar-09 20:52 
GeneralRe: stop main thread and resume later Pin
_T("No name")11-Mar-09 21:13
_T("No name")11-Mar-09 21:13 
GeneralRe: stop main thread and resume later Pin
wo will rock you11-Mar-09 22:58
wo will rock you11-Mar-09 22:58 
GeneralRe: stop main thread and resume later Pin
Cedric Moonen11-Mar-09 21:19
Cedric Moonen11-Mar-09 21:19 
AnswerRe: stop main thread and resume later Pin
Cedric Moonen11-Mar-09 21:17
Cedric Moonen11-Mar-09 21:17 
GeneralRe: stop main thread and resume later Pin
_T("No name")11-Mar-09 22:08
_T("No name")11-Mar-09 22:08 
GeneralRe: stop main thread and resume later Pin
_T("No name")12-Mar-09 2:51
_T("No name")12-Mar-09 2:51 
GeneralRe: stop main thread and resume later Pin
Cedric Moonen12-Mar-09 3:04
Cedric Moonen12-Mar-09 3:04 
I told you that it was no a good idea to use this technique in an MFC application.


_T("No name") wrote:
But in maximize and minimize view is being drawn again and again that i dnt want. thats why i want to wait my mainthread for a while. till worker thread does its work


What do you mean by again and again ? Normally, in an MFC application, the window is only repainted on request (when a WM_PAINT message is sent). So if it is continuously repainting, you are doing something for that. If you want to stop the repainting, just stop doing that thing you are doing Smile | :) (sorry, can't be more accurate without seing any code).

And please, try to avoid txtspk and use correct phrase structures, your question will be much more understandable.

Cédric Moonen
Software developer

Charting control [v1.5]
OpenGL game tutorial in C++

QuestionDisable window.. Pin
siva45511-Mar-09 20:12
siva45511-Mar-09 20:12 
AnswerRe: Disable window.. Pin
«_Superman_»11-Mar-09 20:18
professional«_Superman_»11-Mar-09 20:18 
AnswerRe: Disable window.. Pin
Jijo.Raj11-Mar-09 20:33
Jijo.Raj11-Mar-09 20:33 
AnswerRe: Disable window.. Pin
siva45511-Mar-09 20:35
siva45511-Mar-09 20:35 
QuestionNeed help on MCI Pin
John50211-Mar-09 19:59
John50211-Mar-09 19:59 
AnswerRe: Need help on MCI Pin
aks.11-Mar-09 22:03
aks.11-Mar-09 22:03 
GeneralRe: Need help on MCI Pin
John50212-Mar-09 0:01
John50212-Mar-09 0:01 
GeneralRe: Need help on MCI Pin
aks.23-Mar-09 19:24
aks.23-Mar-09 19:24 
QuestionDirectShow Filter in VC++ 2008 Pin
Andy Rama11-Mar-09 19:49
Andy Rama11-Mar-09 19:49 
QuestionCompiler emits more warnings then vc++ Pin
shaina223111-Mar-09 19:16
shaina223111-Mar-09 19:16 
AnswerRe: Compiler emits more warnings then vc++ Pin
Naveen11-Mar-09 20:15
Naveen11-Mar-09 20:15 
AnswerRe: Compiler emits more warnings then vc++ Pin
shaina223111-Mar-09 20:26
shaina223111-Mar-09 20:26 
GeneralRe: Compiler emits more warnings then vc++ Pin
shaina223111-Mar-09 21:23
shaina223111-Mar-09 21:23 
GeneralRe: Compiler emits more warnings then vc++ Pin
Cedric Moonen11-Mar-09 21:24
Cedric Moonen11-Mar-09 21:24 
Questionchar[] to CString conversion Pin
KASR111-Mar-09 19:05
KASR111-Mar-09 19:05 
AnswerRe: char[] to CString conversion Pin
«_Superman_»11-Mar-09 19:36
professional«_Superman_»11-Mar-09 19:36 
QuestionRe: char[] to CString conversion Pin
CPallini11-Mar-09 22:52
mveCPallini11-Mar-09 22:52 

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.