Click here to Skip to main content
15,908,166 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Input validation Pin
perlmunger26-Nov-02 7:08
perlmunger26-Nov-02 7:08 
GeneralRe: Input validation Pin
valikac26-Nov-02 8:09
valikac26-Nov-02 8:09 
GeneralRe: Input validation Pin
Mike Eriksson26-Nov-02 23:52
Mike Eriksson26-Nov-02 23:52 
GeneralCDialog::OnPaint() doesn't get called Pin
User 665826-Nov-02 3:15
User 665826-Nov-02 3:15 
GeneralRe: CDialog::OnPaint() doesn't get called Pin
Jeff Patterson26-Nov-02 3:44
Jeff Patterson26-Nov-02 3:44 
GeneralOOPS Re: CDialog::OnPaint() doesn't get called Pin
Jeff Patterson26-Nov-02 3:51
Jeff Patterson26-Nov-02 3:51 
GeneralEmbeded Object Pin
millertm26-Nov-02 2:58
millertm26-Nov-02 2:58 
QuestionHow to create thread ? Pin
rrrado26-Nov-02 2:45
rrrado26-Nov-02 2:45 
Hi,

I need to create in separate thread some dialog controlled by CDialog derived class. Thread will create the dialog, process user's actions on it and after closing od dialog, thread can terminate.
I tried to create thread by AfxBeginThread() - worker thread type and i created dialog and called DoModal() in controlling function. But after displaying the dialog it still acts like modal dialog, even if it is in separate thread - i can't click in main application dialog.
How to solve this ?

Thanks


rrrado
AnswerRe: How to create thread ? Pin
Joaquín M López Muñoz26-Nov-02 2:58
Joaquín M López Muñoz26-Nov-02 2:58 
GeneralRe: How to create thread ? Pin
rrrado26-Nov-02 3:38
rrrado26-Nov-02 3:38 
GeneralRe: How to create thread ? Pin
Alexandru Savescu26-Nov-02 6:16
Alexandru Savescu26-Nov-02 6:16 
GeneralRe: How to create thread ? Pin
valikac26-Nov-02 8:11
valikac26-Nov-02 8:11 
Generalplease give me guidlines Pin
vgkotha26-Nov-02 2:39
vgkotha26-Nov-02 2:39 
GeneralRe: please give me guidlines Pin
Michael P Butler26-Nov-02 3:45
Michael P Butler26-Nov-02 3:45 
GeneralRe: please give me guidlines Pin
vgkotha26-Nov-02 4:04
vgkotha26-Nov-02 4:04 
Generaldll hell - pls help Pin
Chris Eatough26-Nov-02 2:06
Chris Eatough26-Nov-02 2:06 
GeneralRe: dll hell - pls help Pin
roel_26-Nov-02 4:08
roel_26-Nov-02 4:08 
GeneralDifference in size of MFC and ASNI C Pin
Tili26-Nov-02 1:58
Tili26-Nov-02 1:58 
GeneralRe: Difference in size of MFC and ASNI C Pin
roel_26-Nov-02 4:10
roel_26-Nov-02 4:10 
GeneralAbstract class as interface Pin
s o v a n n26-Nov-02 1:27
s o v a n n26-Nov-02 1:27 
GeneralRe: Abstract class as interface Pin
Roman Fadeyev26-Nov-02 2:11
Roman Fadeyev26-Nov-02 2:11 
GeneralCreate/SetWaitableTimer Pin
BlackSmith26-Nov-02 1:18
BlackSmith26-Nov-02 1:18 
GeneralRe: Create/SetWaitableTimer Pin
Daniel Turini26-Nov-02 1:52
Daniel Turini26-Nov-02 1:52 
Generalexit Pin
Rage26-Nov-02 1:03
professionalRage26-Nov-02 1:03 
GeneralRe: exit Pin
Rickard Andersson2026-Nov-02 1:10
Rickard Andersson2026-Nov-02 1:10 

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.