Click here to Skip to main content
16,017,852 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Doubt regarding the Hook Pin
FarPointer10-Jul-06 18:36
FarPointer10-Jul-06 18:36 
AnswerRe: Doubt regarding the Hook Pin
Abhi Lahare10-Jul-06 18:37
Abhi Lahare10-Jul-06 18:37 
AnswerRe: Doubt regarding the Hook Pin
Code_Zombie10-Jul-06 19:19
Code_Zombie10-Jul-06 19:19 
AnswerRe: Doubt regarding the Hook Pin
Hamid_RT10-Jul-06 20:27
Hamid_RT10-Jul-06 20:27 
Questionexample Pin
thathvamsi10-Jul-06 18:02
thathvamsi10-Jul-06 18:02 
AnswerRe: example Pin
Steve Echols10-Jul-06 18:19
Steve Echols10-Jul-06 18:19 
AnswerRe: example Pin
ThatsAlok10-Jul-06 19:09
ThatsAlok10-Jul-06 19:09 
AnswerRe: example Pin
Code_Zombie10-Jul-06 19:58
Code_Zombie10-Jul-06 19:58 
Hi,

Try the below sample,

void CMainFrame::OnStartTimer() <br />
{<br />
   m_nTimer = SetTimer(1, 2000, 0);<br />
}<br />
<br />
void CMainFrame::OnStopTimer() <br />
{<br />
   KillTimer(m_nTimer);   <br />
}<br />
<br />
void CMainFrame::OnTimer(UINT nIDEvent) <br />
{<br />
  AfxMessageBox("Timer");	<br />
  CFrameWnd::OnTimer(nIDEvent);<br />
}

AnswerRe: example Pin
Hamid_RT10-Jul-06 20:19
Hamid_RT10-Jul-06 20:19 
GeneralRe: example Pin
thathvamsi10-Jul-06 20:31
thathvamsi10-Jul-06 20:31 
GeneralRe: example Pin
ThatsAlok10-Jul-06 22:50
ThatsAlok10-Jul-06 22:50 
QuestionDerived class from abstract class(COleControl in MFC) gave error while allocation memory Pin
dashprasannajit10-Jul-06 17:31
dashprasannajit10-Jul-06 17:31 
AnswerRe: Derived class from abstract class(COleControl in MFC) gave error while allocation memory Pin
Steve Echols10-Jul-06 18:29
Steve Echols10-Jul-06 18:29 
Question[Noob question] Reading a file gives me weird Y chars? Pin
Lord Kixdemp10-Jul-06 16:19
Lord Kixdemp10-Jul-06 16:19 
AnswerRe: [Noob question] Reading a file gives me weird Y chars? Pin
Lord Kixdemp13-Jul-06 11:51
Lord Kixdemp13-Jul-06 11:51 
Questiontimer for 1sec and more Pin
thathvamsi10-Jul-06 15:32
thathvamsi10-Jul-06 15:32 
AnswerRe: timer for 1sec and more Pin
Jun Du10-Jul-06 16:09
Jun Du10-Jul-06 16:09 
GeneralRe: timer for 1sec and more Pin
thathvamsi10-Jul-06 16:57
thathvamsi10-Jul-06 16:57 
GeneralRe: timer for 1sec and more Pin
ThatsAlok10-Jul-06 19:12
ThatsAlok10-Jul-06 19:12 
GeneralRe: timer for 1sec and more Pin
thathvamsi10-Jul-06 20:20
thathvamsi10-Jul-06 20:20 
GeneralRe: timer for 1sec and more Pin
ThatsAlok10-Jul-06 22:48
ThatsAlok10-Jul-06 22:48 
GeneralRe: timer for 1sec and more Pin
Jun Du11-Jul-06 3:31
Jun Du11-Jul-06 3:31 
Questionabout window message Pin
HOW WHAT10-Jul-06 15:20
HOW WHAT10-Jul-06 15:20 
AnswerRe: about window message Pin
Andy Moore10-Jul-06 16:36
Andy Moore10-Jul-06 16:36 
AnswerRe: about window message Pin
Steve Echols10-Jul-06 18:11
Steve Echols10-Jul-06 18:11 

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.