Click here to Skip to main content
15,900,725 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to terminate a process Pin
Code-o-mat1-Dec-08 1:44
Code-o-mat1-Dec-08 1:44 
GeneralRe: How to terminate a process Pin
Stephen Hewitt1-Dec-08 5:30
Stephen Hewitt1-Dec-08 5:30 
AnswerRe: How to terminate a process Pin
SandipG 1-Dec-08 1:01
SandipG 1-Dec-08 1:01 
AnswerRe: How to terminate a process Pin
Randor 1-Dec-08 6:14
professional Randor 1-Dec-08 6:14 
Questionmultithreading Pin
Laan8230-Nov-08 23:54
Laan8230-Nov-08 23:54 
AnswerRe: multithreading Pin
Mattias G1-Dec-08 1:33
Mattias G1-Dec-08 1:33 
GeneralRe: multithreading Pin
Laan821-Dec-08 1:57
Laan821-Dec-08 1:57 
GeneralRe: multithreading Pin
Mattias G1-Dec-08 2:19
Mattias G1-Dec-08 2:19 
Yes, I think that you could accomplish that with OnIdle, and probably easier and more robust than with multithreading. In the implentation of OnIdle, check for changes in the datasource and update user interface accordingly. Or, if the changes in data aren't that frequent, you could even get by using a timer (SetTimer and handling WM_TIMER)

But if you want to get some experience using threads, go ahead! I would recommend doing it the "hard" way without any help from any class libraries, look for CreateThread in the Win SDK. A short sample is: http://msdn.microsoft.com/en-us/library/ms682516(VS.85).aspx[^]. But I can guarantee that you will end up with lots and lots of debugging problems and very complicated code Smile | :)

Cheers
GeneralRe: multithreading Pin
Laan821-Dec-08 2:31
Laan821-Dec-08 2:31 
AnswerRe: multithreading Pin
Code-o-mat1-Dec-08 2:06
Code-o-mat1-Dec-08 2:06 
GeneralRe: multithreading Pin
Laan821-Dec-08 2:19
Laan821-Dec-08 2:19 
GeneralRe: multithreading Pin
David Crow1-Dec-08 10:36
David Crow1-Dec-08 10:36 
GeneralRe: multithreading Pin
Laan821-Dec-08 11:20
Laan821-Dec-08 11:20 
QuestionRelease memory using 'delete' operator for 2 dimensional array Pin
Nikesh Jagtap30-Nov-08 23:40
Nikesh Jagtap30-Nov-08 23:40 
QuestionRelease memory using 'delete' operator for 2 dimensional array Pin
Nikesh Jagtap30-Nov-08 23:40
Nikesh Jagtap30-Nov-08 23:40 
AnswerRe: Release memory using 'delete' operator for 2 dimensional array Pin
Code-o-mat30-Nov-08 23:54
Code-o-mat30-Nov-08 23:54 
AnswerRe: Release memory using 'delete' operator for 2 dimensional array Pin
CPallini1-Dec-08 1:33
mveCPallini1-Dec-08 1:33 
GeneralRe: Release memory using 'delete' operator for 2 dimensional array Pin
Code-o-mat1-Dec-08 2:41
Code-o-mat1-Dec-08 2:41 
AnswerRe: Release memory using 'delete' operator for 2 dimensional array Pin
David Crow1-Dec-08 10:41
David Crow1-Dec-08 10:41 
QuestionErr Message :"This file is read-only. You must save to a different filename." Pin
josip cagalj30-Nov-08 23:36
josip cagalj30-Nov-08 23:36 
AnswerRe: Err Message :"This file is read-only. You must save to a different filename." Pin
Hans Dietrich30-Nov-08 23:45
mentorHans Dietrich30-Nov-08 23:45 
AnswerRe: Err Message :"This file is read-only. You must save to a different filename." Pin
Code-o-mat30-Nov-08 23:48
Code-o-mat30-Nov-08 23:48 
QuestionHow to attact edit box to scroll bar to display values in edit box when scrolled up or down Pin
puppya30-Nov-08 23:14
puppya30-Nov-08 23:14 
AnswerRe: How to attact edit box to scroll bar to display values in edit box when scrolled up or down Pin
Rajesh R Subramanian30-Nov-08 23:41
professionalRajesh R Subramanian30-Nov-08 23:41 
QuestionRunModalLoop problem Pin
hrishiS30-Nov-08 23:11
hrishiS30-Nov-08 23:11 

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.