Click here to Skip to main content
15,887,326 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questioncode in constructors [modified] Pin
RedSonja18-May-09 2:50
RedSonja18-May-09 2:50 
AnswerRe: access violation in release but not in debug Pin
_AnsHUMAN_ 18-May-09 3:04
_AnsHUMAN_ 18-May-09 3:04 
GeneralRe: access violation in release but not in debug Pin
RedSonja18-May-09 3:07
RedSonja18-May-09 3:07 
AnswerRe: code in constructors Pin
Rajesh R Subramanian18-May-09 4:49
professionalRajesh R Subramanian18-May-09 4:49 
GeneralRe: code in constructors Pin
RedSonja18-May-09 20:50
RedSonja18-May-09 20:50 
QuestionHow can SetTimer on Modeless dialogbox? Pin
Le@rner18-May-09 2:29
Le@rner18-May-09 2:29 
AnswerRe: How can SetTimer on Modeless dialogbox? Pin
Naveen18-May-09 2:40
Naveen18-May-09 2:40 
GeneralRe: How can SetTimer on Modeless dialogbox? Pin
Le@rner18-May-09 2:44
Le@rner18-May-09 2:44 
i m trying same method but its not working in case of modeless dialog box.

use
SetTimer(1, 500, NULL); //in OninitDialog();


void CTest_Dlg::OnTimer(UINT_PTR nIDEvent)
{
	switch (nIDEvent)
	{
		case 1:
			AfxMessageBox(_T("Timer"));
			break;
	}
	CDialog::OnTimer(nIDEvent);
}


this working fine in modal dialog box.but OnTimer not call in case of modeless dialog box.

please help me for this.

thanks in advance.

To accomplish great things, we must not only act, but also dream;
not only plan, but also believe.

GeneralRe: How can SetTimer on Modeless dialogbox? Pin
Naveen18-May-09 2:56
Naveen18-May-09 2:56 
GeneralRe: How can SetTimer on Modeless dialogbox? Pin
Le@rner18-May-09 2:57
Le@rner18-May-09 2:57 
GeneralRe: How can SetTimer on Modeless dialogbox? Pin
Naveen18-May-09 3:00
Naveen18-May-09 3:00 
GeneralRe: How can SetTimer on Modeless dialogbox? Pin
Le@rner18-May-09 18:12
Le@rner18-May-09 18:12 
GeneralRe: How can SetTimer on Modeless dialogbox? Pin
Naveen18-May-09 18:24
Naveen18-May-09 18:24 
GeneralRe: How can SetTimer on Modeless dialogbox? Pin
David Crow18-May-09 3:31
David Crow18-May-09 3:31 
GeneralRe: How can SetTimer on Modeless dialogbox? Pin
Le@rner18-May-09 18:13
Le@rner18-May-09 18:13 
QuestionLooking for a good serialization design which can support multi-inheritance [modified] Pin
transoft18-May-09 2:11
transoft18-May-09 2:11 
AnswerRe: Looking for a good serialization design which can support multi-inheritance Pin
Stuart Dootson18-May-09 8:09
professionalStuart Dootson18-May-09 8:09 
Questionnew line not allowed Pin
susanne118-May-09 2:09
susanne118-May-09 2:09 
AnswerRe: new line not allowed Pin
Naveen18-May-09 2:34
Naveen18-May-09 2:34 
GeneralRe: new line not allowed Pin
susanne118-May-09 2:56
susanne118-May-09 2:56 
GeneralRe: new line not allowed Pin
Naveen18-May-09 3:12
Naveen18-May-09 3:12 
GeneralRe: new line not allowed Pin
susanne118-May-09 4:28
susanne118-May-09 4:28 
QuestionUnicode problem in richedit Pin
subzero_strike18-May-09 1:47
subzero_strike18-May-09 1:47 
QuestionSetting System Clock in Vista (&7) - UAC problem Pin
rbrunton18-May-09 1:17
rbrunton18-May-09 1:17 
Questionplease .... Pin
yunpil18-May-09 0:48
yunpil18-May-09 0:48 

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.