Click here to Skip to main content
16,014,892 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
I tried that, but it is doing the same thing :

class CMyThread : public CWinThread
{
	DECLARE_DYNCREATE(CMyThread)
public:
...


BOOL CMyThread::InitInstance()
{
	CMyDialog dlg;

	dlg.DoModal();
	
	return TRUE;
}


I made button in mail application dialog, which creates my thread. It displays modal dialog but i still can't access main application dialog until i close thread's dialog Cry | :(( Cry | :((


rrrado
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 
GeneralRe: exit Pin
Rage26-Nov-02 1:15
professionalRage26-Nov-02 1:15 
GeneralGot it !.. Pin
Rage26-Nov-02 1:17
professionalRage26-Nov-02 1:17 

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.