Click here to Skip to main content
16,007,809 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: A Dialog Box Problem Pin
Ravi Bhavnani28-May-04 2:36
professionalRavi Bhavnani28-May-04 2:36 
GeneralRe: A Dialog Box Problem [modified] Pin
Naren Neelamegam28-May-04 20:11
Naren Neelamegam28-May-04 20:11 
GeneralDialog Box Problem Pin
Imtiaz Murtaza27-May-04 19:37
Imtiaz Murtaza27-May-04 19:37 
GeneralRe: Dialog Box Problem Pin
GDavy27-May-04 19:40
GDavy27-May-04 19:40 
GeneralRe: Dialog Box Problem Pin
toxcct27-May-04 21:50
toxcct27-May-04 21:50 
QuestionHow to set a timer to a dialog Pin
Zeeshan Bilal27-May-04 18:44
Zeeshan Bilal27-May-04 18:44 
AnswerRe: How to set a timer to a dialog Pin
Frank K27-May-04 19:36
Frank K27-May-04 19:36 
AnswerRe: How to set a timer to a dialog Pin
Member 16246227-May-04 21:18
Member 16246227-May-04 21:18 
If is it mfc application , u can use this


BOOL CTelnetServerDlg::OnInitDialog()
{
… … …
… … …
… … …

SetTimer(100,20000,NULL);

… … …
… … …
… … …
}



BEGIN_MESSAGE_MAP(CTelnetServerDlg, CDialog)
//{{AFX_MSG_MAP(CTelnetServerDlg)
… … …
… … …
… … …

ON_WM_TIMER()
ON_WM_DESTROY()
… … …
… … …
… … …
//}}AFX_MSG_MAP
END_MESSAGE_MAP()







void CTelnetServerDlg::OnTimer(UINT nIDEvent)
{

if (nIDEvent == 100)
{
// TODO: Add your message handler code here and/or call default
}
CDialog::OnTimer(nIDEvent);
}






void CTelnetServerDlg::OnDestroy()
{

KillTimer(100);

CDialog::OnDestroy();


}

Generalthe Clear() function Pin
Eversman27-May-04 17:22
Eversman27-May-04 17:22 
GeneralRe: the Clear() function Pin
Anthony_Yio27-May-04 17:36
Anthony_Yio27-May-04 17:36 
GeneralRe: the Clear() function Pin
Frank K27-May-04 20:06
Frank K27-May-04 20:06 
GeneralRe: the Clear() function Pin
Eversman27-May-04 22:06
Eversman27-May-04 22:06 
GeneralRe: the Clear() function Pin
Frank K27-May-04 22:53
Frank K27-May-04 22:53 
GeneralRe: the Clear() function Pin
Naren Neelamegam28-May-04 20:16
Naren Neelamegam28-May-04 20:16 
GeneralPassing Variables Pin
picasso227-May-04 17:12
picasso227-May-04 17:12 
GeneralRe: Passing Variables Pin
Anthony_Yio27-May-04 17:21
Anthony_Yio27-May-04 17:21 
GeneralDropping files Pin
Anonymous27-May-04 16:59
Anonymous27-May-04 16:59 
GeneralRe: Dropping files Pin
jmkhael28-May-04 1:02
jmkhael28-May-04 1:02 
Questionrenaming vcproj? Pin
bryce27-May-04 15:51
bryce27-May-04 15:51 
AnswerRe: renaming vcproj? Pin
Anthony_Yio27-May-04 16:08
Anthony_Yio27-May-04 16:08 
GeneralParallel port address auto detect Pin
jfk_lili27-May-04 15:50
jfk_lili27-May-04 15:50 
GeneralRe: Parallel port address auto detect Pin
Anthony_Yio27-May-04 18:16
Anthony_Yio27-May-04 18:16 
GeneralRe: Parallel port address auto detect Pin
jfk_lili27-May-04 22:47
jfk_lili27-May-04 22:47 
GeneralFILE IO Pin
demasoni.com27-May-04 14:42
demasoni.com27-May-04 14:42 
GeneralRe: FILE IO Pin
Anthony_Yio27-May-04 16:50
Anthony_Yio27-May-04 16:50 

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.