Click here to Skip to main content
15,917,321 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: WM_GETTEXT and GetWindowText [modified] Pin
Hamid_RT30-May-06 20:52
Hamid_RT30-May-06 20:52 
GeneralRe: WM_GETTEXT and GetWindowText Pin
ThatsAlok30-May-06 23:50
ThatsAlok30-May-06 23:50 
QuestionSetWaitableTimer on IA64 Pin
joshiparsu30-May-06 20:10
joshiparsu30-May-06 20:10 
AnswerRe: SetWaitableTimer on IA64 Pin
NiceNaidu30-May-06 20:18
NiceNaidu30-May-06 20:18 
QuestionSet Icon for application Pin
kkkkkkkkkkkkkkkkkkk30-May-06 20:07
kkkkkkkkkkkkkkkkkkk30-May-06 20:07 
AnswerRe: Set Icon for application Pin
NiceNaidu30-May-06 20:13
NiceNaidu30-May-06 20:13 
AnswerRe: Set Icon for application Pin
Hamid_RT30-May-06 20:16
Hamid_RT30-May-06 20:16 
QuestionRegNotifyChangeKeyValue Pin
simonchen.net30-May-06 20:01
simonchen.net30-May-06 20:01 
AnswerRe: RegNotifyChangeKeyValue Pin
Hamid_RT30-May-06 20:19
Hamid_RT30-May-06 20:19 
AnswerRe: RegNotifyChangeKeyValue Pin
Hamid_RT30-May-06 20:25
Hamid_RT30-May-06 20:25 
GeneralRe: RegNotifyChangeKeyValue Pin
simonchen.net30-May-06 20:53
simonchen.net30-May-06 20:53 
Questiondirectx question Pin
shaderx30-May-06 20:01
shaderx30-May-06 20:01 
AnswerRe: directx question [modified] Pin
_anil_30-May-06 20:21
_anil_30-May-06 20:21 
AnswerRe: directx question Pin
Sarath C30-May-06 20:45
Sarath C30-May-06 20:45 
QuestionCompiler settings from CommandLine Pin
NiceNaidu30-May-06 19:45
NiceNaidu30-May-06 19:45 
Questiondoubt in vc++regarding system queue Pin
Javagal Srinath30-May-06 19:28
Javagal Srinath30-May-06 19:28 
AnswerRe: doubt in vc++regarding system queue Pin
NiceNaidu30-May-06 19:58
NiceNaidu30-May-06 19:58 
GeneralRe: doubt in vc++regarding system queue Pin
NiceNaidu30-May-06 20:09
NiceNaidu30-May-06 20:09 
QuestionFlexGrid Control in DLL Pin
anu_8830-May-06 19:18
anu_8830-May-06 19:18 
QuestionAfxBeginThread- Error Pin
satsumatable30-May-06 18:01
satsumatable30-May-06 18:01 
AnswerRe: AfxBeginThread- Error Pin
_AnsHUMAN_ 30-May-06 18:13
_AnsHUMAN_ 30-May-06 18:13 
GeneralRe: AfxBeginThread- Error Pin
satsumatable30-May-06 18:16
satsumatable30-May-06 18:16 
GeneralRe: AfxBeginThread- Error Pin
_AnsHUMAN_ 30-May-06 18:22
_AnsHUMAN_ 30-May-06 18:22 
GeneralRe: AfxBeginThread- Error Pin
satsumatable30-May-06 18:38
satsumatable30-May-06 18:38 
AnswerRe: AfxBeginThread- Error Pin
Hamid_RT30-May-06 18:36
Hamid_RT30-May-06 18:36 
maybe it is some helpful to you
it work.
<br />
UINT MyThread( LPVOID pv );<br />
...<br />
...<br />
<br />
void CMyAnswer::RunThread()<br />
{<br />
CWinThread* m_Thread;<br />
<br />
m_Thread=AfxBeginThread ( MyThread, this,THREAD_PRIORITY_NORMAL,0,CREATE_SUSPENDED);<br />
if (m_Thread != NULL)<br />
m_Thread->ResumeThread();<br />
}<br />
<br />
<br />
UINT MyThread( LPVOID pv )<br />
{<br />
CMyAnswer* m_Answer = (CMyAnswer*) pv;<br />
<br />
m_Answer->Modify();<br />
<br />
return 0;<br />
}<br />
<br />
void CMyAnswer::Modify()<br />
{<br />
}<br />



whitesky


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.