Click here to Skip to main content
15,925,309 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Using SDI with Formviews Pin
Mike Danberg19-Sep-03 20:39
Mike Danberg19-Sep-03 20:39 
GeneralImplement scale view Pin
TianYang18-Sep-03 15:31
TianYang18-Sep-03 15:31 
GeneralRe: Implement scale view Pin
imsniper18-Sep-03 20:59
imsniper18-Sep-03 20:59 
QuestionI/O Question ????? Pin
e010190718-Sep-03 14:08
e010190718-Sep-03 14:08 
AnswerRe: I/O Question ????? Pin
e010190718-Sep-03 14:12
e010190718-Sep-03 14:12 
AnswerRe: I/O Question ????? Pin
David Crow19-Sep-03 2:19
David Crow19-Sep-03 2:19 
GeneralUI Thread question... Pin
RobJones18-Sep-03 12:34
RobJones18-Sep-03 12:34 
GeneralRe: UI Thread question... Pin
Stefan Pedersen18-Sep-03 13:03
Stefan Pedersen18-Sep-03 13:03 
No and No Smile | :)

1. You need some kind of locking strategy to sync the main thread and the UI threads or bad things will happen (Oh, it already does Smile | :) )

2. The threadhandle in the main thread doesn't "know" that a thread has exited. You need to check this. There is a sys call to get the exitstatus of the thread, it will tell you if it is still alive. There are other ways to do this aswell.

Good luck!
GeneralRe: UI Thread question... Pin
Jagadeesh VN18-Sep-03 13:33
Jagadeesh VN18-Sep-03 13:33 
GeneralRe: UI Thread question... Pin
Stefan Pedersen18-Sep-03 13:37
Stefan Pedersen18-Sep-03 13:37 
GeneralRe: UI Thread question... Pin
Jagadeesh VN18-Sep-03 13:44
Jagadeesh VN18-Sep-03 13:44 
GeneralRe: UI Thread question... Pin
Stefan Pedersen18-Sep-03 14:10
Stefan Pedersen18-Sep-03 14:10 
GeneralRe: UI Thread question... Pin
David Crow19-Sep-03 2:22
David Crow19-Sep-03 2:22 
GeneralThanks everyone.. Pin
RobJones19-Sep-03 3:40
RobJones19-Sep-03 3:40 
GeneralReleasing hDC after rendering Pin
ComboController18-Sep-03 12:00
ComboController18-Sep-03 12:00 
GeneralRe: Releasing hDC after rendering Pin
Stefan Pedersen18-Sep-03 13:09
Stefan Pedersen18-Sep-03 13:09 
QuestionHow can i a poweroff in ATX's tower Pin
wanft18-Sep-03 11:40
wanft18-Sep-03 11:40 
AnswerRe: How can i a poweroff in ATX's tower Pin
John M. Drescher18-Sep-03 11:53
John M. Drescher18-Sep-03 11:53 
GeneralRe: How can i a poweroff in ATX's tower Pin
wanft22-Sep-03 2:09
wanft22-Sep-03 2:09 
QuestionHow can I get a thread ID form a thread handle in Win2k?? Pin
John M. Drescher18-Sep-03 11:30
John M. Drescher18-Sep-03 11:30 
AnswerRe: How can I get a thread ID form a thread handle in Win2k?? Pin
Jagadeesh VN18-Sep-03 11:43
Jagadeesh VN18-Sep-03 11:43 
GeneralRe: How can I get a thread ID form a thread handle in Win2k?? Pin
John M. Drescher18-Sep-03 11:45
John M. Drescher18-Sep-03 11:45 
GeneralRe: How can I get a thread ID form a thread handle in Win2k?? Pin
Jagadeesh VN18-Sep-03 11:47
Jagadeesh VN18-Sep-03 11:47 
GeneralRe: How can I get a thread ID form a thread handle in Win2k?? Pin
John M. Drescher18-Sep-03 11:49
John M. Drescher18-Sep-03 11:49 
QuestionHow to use CString in DLL? Pin
Johan_yo18-Sep-03 11:28
Johan_yo18-Sep-03 11: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.