Click here to Skip to main content
15,910,981 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionAbout IHTML Interface ... need your help Pin
Ryu Jin4-Sep-07 3:21
Ryu Jin4-Sep-07 3:21 
QuestionHelp - clistctrl drag image only showing icon, no text Pin
Derrick Becker4-Sep-07 3:14
Derrick Becker4-Sep-07 3:14 
QuestionRe: Help - clistctrl drag image only showing icon, no text Pin
Derrick Becker4-Sep-07 5:17
Derrick Becker4-Sep-07 5:17 
QuestionPlease Help :( [modified] Pin
Programm3r4-Sep-07 2:11
Programm3r4-Sep-07 2:11 
QuestionVC++ AND MS ACCESS connection Pin
himuskanhere4-Sep-07 2:08
himuskanhere4-Sep-07 2:08 
AnswerRe: VC++ AND MS ACCESS connection Pin
chandu0044-Sep-07 2:30
chandu0044-Sep-07 2:30 
AnswerRe: VC++ AND MS ACCESS connection Pin
Hamid_RT4-Sep-07 3:38
Hamid_RT4-Sep-07 3:38 
QuestionHow to terminate a thread? Pin
kcynic4-Sep-07 0:52
kcynic4-Sep-07 0:52 
I created a thread using CreateThread,that I can get the ID of the thread.
I want to terminate the thread now.
I know I can use terminatethread to end it.
But it says that using that way is not a good method.
And I try to use PostThreadMessage(threadID,WM_QUIT,0,0),but the thread would not end!

Someone would like to tell me how to end the thread except using terminatethread?(And I did not use CWinThread).Thanks.

GOOD LUCK
AnswerRe: How to terminate a thread? Pin
Roger Stoltz4-Sep-07 1:02
Roger Stoltz4-Sep-07 1:02 
GeneralRe: How to terminate a thread? Pin
kcynic4-Sep-07 1:15
kcynic4-Sep-07 1:15 
GeneralRe: How to terminate a thread? Pin
Cedric Moonen4-Sep-07 1:25
Cedric Moonen4-Sep-07 1:25 
GeneralRe: How to terminate a thread? Pin
Roger Stoltz4-Sep-07 1:51
Roger Stoltz4-Sep-07 1:51 
AnswerRe: How to terminate a thread? Pin
aks.4-Sep-07 1:52
aks.4-Sep-07 1:52 
GeneralRe: How to terminate a thread? Pin
kcynic4-Sep-07 1:57
kcynic4-Sep-07 1:57 
GeneralRe: How to terminate a thread? Pin
Stephen Hewitt4-Sep-07 14:03
Stephen Hewitt4-Sep-07 14:03 
QuestionReadFile Pin
Waldermort4-Sep-07 0:32
Waldermort4-Sep-07 0:32 
AnswerRe: ReadFile Pin
Naveen4-Sep-07 1:44
Naveen4-Sep-07 1:44 
GeneralRe: ReadFile Pin
Nishad S4-Sep-07 2:18
Nishad S4-Sep-07 2:18 
GeneralRe: ReadFile Pin
Naveen4-Sep-07 2:23
Naveen4-Sep-07 2:23 
GeneralRe: ReadFile Pin
Waldermort4-Sep-07 3:09
Waldermort4-Sep-07 3:09 
QuestionWhy there would be a single line left on the screen when the dialog disapear? Pin
kcynic4-Sep-07 0:28
kcynic4-Sep-07 0:28 
QuestionRe: Why there would be a single line left on the screen when the dialog disapear? Pin
Mark Salsbery4-Sep-07 5:45
Mark Salsbery4-Sep-07 5:45 
AnswerRe: Why there would be a single line left on the screen when the dialog disapear? Pin
kcynic4-Sep-07 17:36
kcynic4-Sep-07 17:36 
QuestionRe: Why there would be a single line left on the screen when the dialog disapear? Pin
Mark Salsbery5-Sep-07 5:01
Mark Salsbery5-Sep-07 5:01 
AnswerRe: Why there would be a single line left on the screen when the dialog disapear? Pin
kcynic5-Sep-07 14:28
kcynic5-Sep-07 14:28 

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.