Click here to Skip to main content
15,894,540 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Upcasting & Downcasting naming jargon ? Pin
Prakash Nadar28-Dec-05 22:11
Prakash Nadar28-Dec-05 22:11 
GeneralRe: Upcasting & Downcasting naming jargon ? Pin
vikas amin28-Dec-05 23:03
vikas amin28-Dec-05 23:03 
GeneralRe: Upcasting & Downcasting naming jargon ? Pin
Identity Undisclosed28-Dec-05 23:11
Identity Undisclosed28-Dec-05 23:11 
GeneralRe: Upcasting & Downcasting naming jargon ? Pin
vikas amin28-Dec-05 23:25
vikas amin28-Dec-05 23:25 
GeneralRe: Upcasting & Downcasting naming jargon ? Pin
Identity Undisclosed29-Dec-05 1:50
Identity Undisclosed29-Dec-05 1:50 
GeneralRe: Upcasting & Downcasting naming jargon ? Pin
Prakash Nadar29-Dec-05 5:12
Prakash Nadar29-Dec-05 5:12 
GeneralRe: Upcasting & Downcasting naming jargon ? Pin
Prakash Nadar29-Dec-05 4:46
Prakash Nadar29-Dec-05 4:46 
AnswerRe: Upcasting & Downcasting naming jargon ? Pin
sunit529-Dec-05 0:10
sunit529-Dec-05 0:10 
QuestionLOGFILE AND BACKUP(MFC) Pin
RabiaAslam28-Dec-05 20:19
RabiaAslam28-Dec-05 20:19 
AnswerRe: LOGFILE AND BACKUP(MFC) Pin
khan++29-Dec-05 1:52
khan++29-Dec-05 1:52 
AnswerRe: LOGFILE AND BACKUP(MFC) Pin
Maximilien29-Dec-05 3:36
Maximilien29-Dec-05 3:36 
AnswerRe: LOGFILE AND BACKUP(MFC) Pin
Identity Undisclosed29-Dec-05 6:19
Identity Undisclosed29-Dec-05 6:19 
QuestionProblem in executing application Pin
maharaja pandian28-Dec-05 20:01
maharaja pandian28-Dec-05 20:01 
AnswerRe: Problem in executing application Pin
sunit528-Dec-05 20:36
sunit528-Dec-05 20:36 
AnswerRe: Problem in executing application Pin
vikas amin28-Dec-05 23:28
vikas amin28-Dec-05 23:28 
AnswerRe: Problem in executing application Pin
Identity Undisclosed29-Dec-05 1:52
Identity Undisclosed29-Dec-05 1:52 
QuestionPrint Preview Crashes Pin
Identity Undisclosed28-Dec-05 19:13
Identity Undisclosed28-Dec-05 19:13 
Questiongetting problem in ontimer(UINT nIDEvent) Pin
cancerion28-Dec-05 19:09
cancerion28-Dec-05 19:09 
AnswerRe: getting problem in ontimer(UINT nIDEvent) Pin
Owner drawn28-Dec-05 19:16
Owner drawn28-Dec-05 19:16 
GeneralRe: getting problem in ontimer(UINT nIDEvent) Pin
cancerion28-Dec-05 19:34
cancerion28-Dec-05 19:34 
QuestionRe: getting problem in ontimer(UINT nIDEvent) Pin
Owner drawn28-Dec-05 19:38
Owner drawn28-Dec-05 19:38 
AnswerRe: getting problem in ontimer(UINT nIDEvent) Pin
cancerion28-Dec-05 20:15
cancerion28-Dec-05 20:15 
GeneralRe: getting problem in ontimer(UINT nIDEvent) Pin
Owner drawn28-Dec-05 20:21
Owner drawn28-Dec-05 20:21 
This how I do...

BEGIN_MESSAGE_MAP(.......)
ON_WM_TIMER()
END_MESSAGE_MAP()

afx_msg void OnTimer(UINT nIDEvent);

SetTimer(timerID, delay, callback);

//rest of the code

void MyClassName::OnTimer(UINT nIDEvent)
{
.....
}

well it will work if it done like this...

Change the delay to 1000... So that you can check faster

Try again

Jesus Loves You and Me Smile | :)
<marquee direction="up" height="50" scrolldelay="1" step="1" scrollamount="1" style="background-color:'#44ccff'">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord


GeneralRe: getting problem in ontimer(UINT nIDEvent) Pin
cancerion28-Dec-05 20:42
cancerion28-Dec-05 20:42 
GeneralRe: getting problem in ontimer(UINT nIDEvent) Pin
ThatsAlok28-Dec-05 21:19
ThatsAlok28-Dec-05 21:19 

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.