Click here to Skip to main content
15,896,201 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Question[Message Deleted] Pin
wangjian0000018-May-09 5:06
wangjian0000018-May-09 5:06 
QuestionRe: How can I contrl the applications's paste ,cut, and so on. such as office,autocad,photoshop etc. Pin
David Crow18-May-09 10:16
David Crow18-May-09 10:16 
Questionsmtp server Pin
santanukarmakar18-May-09 4:44
santanukarmakar18-May-09 4:44 
AnswerRe: smtp server Pin
Rajesh R Subramanian18-May-09 4:52
professionalRajesh R Subramanian18-May-09 4:52 
QuestionPlay Sound File Pin
javad_200518-May-09 4:19
javad_200518-May-09 4:19 
AnswerRe: Play Sound File Pin
santanukarmakar18-May-09 4:47
santanukarmakar18-May-09 4:47 
Questionchange title of a tab page. Pin
FISH78618-May-09 3:26
FISH78618-May-09 3:26 
AnswerRe: change title of a tab page. Pin
«_Superman_»18-May-09 3:36
professional«_Superman_»18-May-09 3:36 
GeneralRe: change title of a tab page. Pin
FISH78618-May-09 4:08
FISH78618-May-09 4:08 
GeneralRe: change title of a tab page. Pin
«_Superman_»18-May-09 4:32
professional«_Superman_»18-May-09 4:32 
GeneralRe: change title of a tab page. Pin
FISH78618-May-09 4:42
FISH78618-May-09 4:42 
GeneralRe: change title of a tab page. Pin
«_Superman_»18-May-09 5:05
professional«_Superman_»18-May-09 5:05 
GeneralRe: change title of a tab page. Pin
FISH78619-May-09 9:24
FISH78619-May-09 9:24 
GeneralRe: change title of a tab page. Pin
«_Superman_»19-May-09 20:18
professional«_Superman_»19-May-09 20:18 
QuestionFont Dialog Title Text Pin
susanne118-May-09 3:08
susanne118-May-09 3:08 
AnswerRe: Font Dialog Title Text Pin
Naveen18-May-09 3:27
Naveen18-May-09 3:27 
GeneralRe: Font Dialog Title Text Pin
susanne118-May-09 4:32
susanne118-May-09 4:32 
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.

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.