Click here to Skip to main content
15,903,012 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CPU Usage - 100% Pin
Mark Salsbery14-Nov-06 6:43
Mark Salsbery14-Nov-06 6:43 
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 
I want to get data from edit control in thread function.
My code below
UINT Thread1(LPVOID pParam)
{
char buffer[10];
int wordnum;
CTestDlg *m_dlg = (CTestDlg*)pParam;


wordnum = m_dlg->m_cedit.GetLine(0,buffer);//
*(buffer+wordnum)=0;
m_dlg->m_edit = buffer;
TRACE(m_dlg->m_edit);
return TRUE;
}
after this line
wordnum = m_dlg->m_cedit.GetLine(0,buffer);
buffer will become empty.
Anybody know how to solve this problem.
AnswerRe: Getline() in thread Pin
Cedric Moonen14-Nov-06 5:05
Cedric Moonen14-Nov-06 5:05 
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 

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.