Click here to Skip to main content
15,904,638 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CPU Usage - 100% Pin
Programm3r14-Nov-06 6:51
Programm3r14-Nov-06 6:51 
GeneralRe: CPU Usage - 100% Pin
Mark Salsbery14-Nov-06 6:54
Mark Salsbery14-Nov-06 6:54 
GeneralRe: CPU Usage - 100% Pin
Programm3r14-Nov-06 6:57
Programm3r14-Nov-06 6:57 
QuestionRe: CPU Usage - 100% Pin
David Crow14-Nov-06 6:51
David Crow14-Nov-06 6:51 
AnswerRe: CPU Usage - 100% Pin
Programm3r14-Nov-06 6:54
Programm3r14-Nov-06 6:54 
GeneralRe: CPU Usage - 100% Pin
Programm3r14-Nov-06 7:52
Programm3r14-Nov-06 7:52 
QuestionGetline() in thread Pin
Max++14-Nov-06 4:58
Max++14-Nov-06 4:58 
AnswerRe: Getline() in thread Pin
Cedric Moonen14-Nov-06 5:05
Cedric Moonen14-Nov-06 5:05 
As said previously: it is very bad to mix GUI functionalities inside another thread. Why don't you simply save the string contained in your edit control in a variable before starting the thread ?
And don't pass your dialog through the thread, this is also very bad ! You should separate your GUI from your processing (I suppose you started a thread so that you can make some kind of processing, no ?).


Cédric Moonen
Software developer

Charting control [v1.1]

AnswerRe: Getline() in thread Pin
Viorel.14-Nov-06 5:12
Viorel.14-Nov-06 5:12 
Answeruse <pre></pre> tags Pin
toxcct14-Nov-06 5:19
toxcct14-Nov-06 5:19 
Questionactivex with managed assembly Pin
Sandra197414-Nov-06 4:56
Sandra197414-Nov-06 4:56 
QuestionProblem in Owner Draw Button Pin
Parthi_Appu14-Nov-06 4:51
Parthi_Appu14-Nov-06 4:51 
AnswerRe: Problem in Owner Draw Button Pin
PJ Arends14-Nov-06 5:51
professionalPJ Arends14-Nov-06 5:51 
GeneralRe: Problem in Owner Draw Button Pin
Parthi_Appu14-Nov-06 17:20
Parthi_Appu14-Nov-06 17:20 
GeneralRe: Problem in Owner Draw Button Pin
Hamid_RT14-Nov-06 19:09
Hamid_RT14-Nov-06 19:09 
GeneralRe: Problem in Owner Draw Button Pin
Parthi_Appu14-Nov-06 19:36
Parthi_Appu14-Nov-06 19:36 
GeneralRe: Problem in Owner Draw Button Pin
Hamid_RT14-Nov-06 20:16
Hamid_RT14-Nov-06 20:16 
QuestionCreating a MFC window in a subclass [modified] Pin
earlgraham14-Nov-06 4:49
earlgraham14-Nov-06 4:49 
Answeruse <pre></pre> tags Pin
toxcct14-Nov-06 4:51
toxcct14-Nov-06 4:51 
GeneralRe: use <pre></pre> tags Pin
Max++14-Nov-06 5:36
Max++14-Nov-06 5:36 
GeneralRe: use <pre></pre> tags Pin
toxcct14-Nov-06 5:41
toxcct14-Nov-06 5:41 
GeneralRe: use <pre></pre> tags Pin
Mark Salsbery14-Nov-06 5:52
Mark Salsbery14-Nov-06 5:52 
GeneralRe: use <pre></pre> tags Pin
toxcct14-Nov-06 5:58
toxcct14-Nov-06 5:58 
GeneralRe: use <pre></pre> tags Pin
Hamid_RT14-Nov-06 8:12
Hamid_RT14-Nov-06 8:12 
GeneralRe: use <pre></pre> tags Pin
Hamid_RT14-Nov-06 8:09
Hamid_RT14-Nov-06 8:09 

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.