Click here to Skip to main content
15,891,529 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: [MFC] Keep thread alive until application exits Pin
Chuck O'Toole27-Sep-11 8:38
Chuck O'Toole27-Sep-11 8:38 
GeneralRe: [MFC] Keep thread alive until application exits Pin
Albert Holguin27-Sep-11 9:24
professionalAlbert Holguin27-Sep-11 9:24 
AnswerRe: [MFC] Keep thread alive until application exits Pin
Albert Holguin27-Sep-11 4:55
professionalAlbert Holguin27-Sep-11 4:55 
AnswerRe: [MFC] Keep thread alive until application exits Pin
Roger Allen27-Sep-11 6:10
Roger Allen27-Sep-11 6:10 
GeneralRe: [MFC] Keep thread alive until application exits Pin
Chris Meech27-Sep-11 6:29
Chris Meech27-Sep-11 6:29 
GeneralRe: [MFC] Keep thread alive until application exits Pin
Rajesh R Subramanian27-Sep-11 7:31
professionalRajesh R Subramanian27-Sep-11 7:31 
GeneralRe: [MFC] Keep thread alive until application exits Pin
Albert Holguin27-Sep-11 7:32
professionalAlbert Holguin27-Sep-11 7:32 
GeneralRe: [MFC] Keep thread alive until application exits Pin
Rajesh R Subramanian27-Sep-11 7:39
professionalRajesh R Subramanian27-Sep-11 7:39 
If you're implying that "UI thread" is some kind of an inappropriate name, I can't agree with you more. I've used these "UI" threads in several instances where there's no UI. For example, if I needed some kind of a queued event processing mechanism within my program that will process requests in the order they were received, then UI thread would be a quick and reliable way to do it. Smile | :)

BTW, Roger is correct in saying that the OP should rather delegate lengthy tasks to a background worker, and not bother the main thread that processes the dialog UI events.
"Real men drive manual transmission" - Rajesh.

GeneralRe: [MFC] Keep thread alive until application exits Pin
Albert Holguin27-Sep-11 7:42
professionalAlbert Holguin27-Sep-11 7:42 
AnswerRe: [MFC] Keep thread alive until application exits Pin
Rajesh R Subramanian27-Sep-11 7:30
professionalRajesh R Subramanian27-Sep-11 7:30 
AnswerRe: [MFC] Keep thread alive until application exits Pin
David Crow27-Sep-11 16:00
David Crow27-Sep-11 16:00 
QuestionIs there any library which can detect the faulty statement at runtime? Pin
rahul.kulshreshtha26-Sep-11 22:05
rahul.kulshreshtha26-Sep-11 22:05 
AnswerRe: Is there any library which can detect the faulty statement at runtime? Pin
Madhu Nair26-Sep-11 23:17
Madhu Nair26-Sep-11 23:17 
QuestionRe: Is there any library which can detect the faulty statement at runtime? Pin
rahul.kulshreshtha27-Sep-11 1:25
rahul.kulshreshtha27-Sep-11 1:25 
AnswerRe: Is there any library which can detect the faulty statement at runtime? Pin
Rolf Kristensen27-Sep-11 8:20
Rolf Kristensen27-Sep-11 8:20 
QuestionErranous behavouir in Modless Dialog Pin
Amrit Agr26-Sep-11 21:30
Amrit Agr26-Sep-11 21:30 
SuggestionRe: Erranous behavouir in Modless Dialog Pin
Madhu Nair26-Sep-11 21:59
Madhu Nair26-Sep-11 21:59 
GeneralRe: Erranous behavouir in Modless Dialog Pin
Amrit Agr26-Sep-11 22:37
Amrit Agr26-Sep-11 22:37 
QuestionPost-mortem debugging under Win7 Home Premium Pin
Code-o-mat26-Sep-11 10:52
Code-o-mat26-Sep-11 10:52 
AnswerRe: Post-mortem debugging under Win7 Home Premium Pin
Erudite_Eric26-Sep-11 21:44
Erudite_Eric26-Sep-11 21:44 
GeneralRe: Post-mortem debugging under Win7 Home Premium Pin
Code-o-mat26-Sep-11 22:08
Code-o-mat26-Sep-11 22:08 
QuestionRead/Write from two process Pin
manju 326-Sep-11 3:39
manju 326-Sep-11 3:39 
AnswerRe: Read/Write from two process Pin
Software_Developer26-Sep-11 23:44
Software_Developer26-Sep-11 23:44 
GeneralRe: Read/Write from two process Pin
manju 327-Sep-11 0:31
manju 327-Sep-11 0:31 
QuestionSolved : Resize ComboBox Window Pin
tagopi26-Sep-11 0:56
tagopi26-Sep-11 0:56 

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.