Click here to Skip to main content
16,004,927 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how can i set size of dialog box Pin
David Crow13-Mar-06 3:11
David Crow13-Mar-06 3:11 
Questionto webmaster of the site Pin
includeh1013-Mar-06 0:13
includeh1013-Mar-06 0:13 
AnswerRe: to webmaster of the site Pin
Monty213-Mar-06 0:34
Monty213-Mar-06 0:34 
AnswerRe: to webmaster of the site Pin
Abebe13-Mar-06 0:44
Abebe13-Mar-06 0:44 
Questionhow to get lastmodifieddate of file in vc++ Pin
Hemachandran pozhichalur12-Mar-06 23:24
Hemachandran pozhichalur12-Mar-06 23:24 
AnswerRe: how to get lastmodifieddate of file in vc++ Pin
Nibu babu thomas12-Mar-06 23:32
Nibu babu thomas12-Mar-06 23:32 
AnswerRe: how to get lastmodifieddate of file in vc++ Pin
Hamid_RT12-Mar-06 23:35
Hamid_RT12-Mar-06 23:35 
QuestionContinue with Funktion after show a Dialog! Pin
bosfan12-Mar-06 23:23
bosfan12-Mar-06 23:23 
Hi community,
i develop a litle Dialogapplication, and i want to display an litle Dialog, such as MessageBox, in a Function, and this is no problem, but the program stops when the Dialog is displayed, they should continue with execution!! How to create/show an Dialog in a Function without stoping the execution???

<br />
BOOL CMyFunction()<br />
{<br />
	AfxGetApp()->BeginWaitCursor();<br />
	CWaitDlg* pDlg = new CWaitDlg();<br />
	//CDialog* pDlg = new CDialog(IDD_WAIT_DIALOG, NULL);<br />
	BOOL bCreate = pDlg->Create(IDD_WAIT_DIALOG, AfxGetMainWnd());<br />
	pDlg->ShowWindow(SW_SHOW);<br />
	AfxGetApp()->RestoreWaitCursor();<br />
	// do some action<br />
	// in my case is here a for() iteration<br />
	// after this close the Dialog:<br />
	pDlg->DestroyWindow();<br />
	delete pDlg;<br />
	pDlg = NULL;<br />
	AfxGetApp()->EndWaitCursor();<br />
	return TRUE;<br />
}<br />


I want that the funktion continue after show this Dialog?! Confused | :confused:


thanx
break;

-- modified at 5:24 Monday 13th March, 2006
AnswerRe: Continue with Funktion after show a Dialog! Pin
Nibu babu thomas12-Mar-06 23:27
Nibu babu thomas12-Mar-06 23:27 
AnswerRe: Continue with Funktion after show a Dialog! Pin
Cedric Moonen12-Mar-06 23:28
Cedric Moonen12-Mar-06 23:28 
AnswerRe: Continue with Funktion after show a Dialog! Pin
bosfan12-Mar-06 23:50
bosfan12-Mar-06 23:50 
AnswerRe: Continue with Funktion after show a Dialog! Pin
Naveen12-Mar-06 23:30
Naveen12-Mar-06 23:30 
AnswerRe: Continue with Funktion after show a Dialog! Pin
Aqueel12-Mar-06 23:39
Aqueel12-Mar-06 23:39 
QuestionRegarding Tab Control Pin
CPPOnly12-Mar-06 22:51
CPPOnly12-Mar-06 22:51 
AnswerRe: Regarding Tab Control Pin
Nibu babu thomas12-Mar-06 23:07
Nibu babu thomas12-Mar-06 23:07 
AnswerRe: Regarding Tab Control Pin
includeh1012-Mar-06 23:15
includeh1012-Mar-06 23:15 
Question[Message Deleted] Pin
includeh1012-Mar-06 22:40
includeh1012-Mar-06 22:40 
AnswerRe: need your algorithm to display this issue Pin
El Corazon13-Mar-06 1:59
El Corazon13-Mar-06 1:59 
AnswerRe: need your algorithm to display this issue Pin
David Crow13-Mar-06 3:20
David Crow13-Mar-06 3:20 
QuestionMFC STUDY CENTER Pin
phijophlip12-Mar-06 22:29
phijophlip12-Mar-06 22:29 
AnswerRe: MFC STUDY CENTER Pin
Hamid_RT12-Mar-06 22:40
Hamid_RT12-Mar-06 22:40 
AnswerRe: MFC STUDY CENTER Pin
Nibu babu thomas12-Mar-06 22:41
Nibu babu thomas12-Mar-06 22:41 
AnswerRe: MFC STUDY CENTER Pin
chetan21018312-Mar-06 22:42
chetan21018312-Mar-06 22:42 
AnswerRe: MFC STUDY CENTER Pin
Cedric Moonen12-Mar-06 22:47
Cedric Moonen12-Mar-06 22:47 
GeneralRe: MFC STUDY CENTER Pin
Hamid_RT12-Mar-06 22:57
Hamid_RT12-Mar-06 22:57 

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.