Click here to Skip to main content
15,898,588 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralObject Browser Implementation Pin
Chris2-Jun-00 6:21
Chris2-Jun-00 6:21 
GeneralResizing text to fit in rect Pin
Jason Phillips2-Jun-00 5:58
Jason Phillips2-Jun-00 5:58 
GeneralRe: Resizing text to fit in rect Pin
Mike Dunn2-Jun-00 15:32
Mike Dunn2-Jun-00 15:32 
GeneralSerial COM on MOXA cards when > COM9 and using Win32 API on NT Pin
GBO2-Jun-00 5:14
GBO2-Jun-00 5:14 
GeneralRe: Serial COM on MOXA cards when > COM9 and using Win32 API on NT Pin
GBO4-Jun-00 22:30
GBO4-Jun-00 22:30 
QuestionMonikers?? Pin
mahesh2-Jun-00 2:32
mahesh2-Jun-00 2:32 
General"Pluggable Protocols"?? Pin
mahesh1-Jun-00 10:50
mahesh1-Jun-00 10:50 
GeneralSetTimer doesn't work Pin
Member 117662571-Jun-00 7:03
Member 117662571-Jun-00 7:03 
Hi All,

I used the following code. But it appears that my code in the OnTimer function is never executed.
The strangest thing is that if I click the menu ,so it drops down, the timer is executed! And as soon as I pull up the menu again, the timer stops!
Can anyone give me a explaination for this? Thanks a lot.


void CMyDialog::OnMyFunction()
{
...
SetTimer(1, 500, NULL);
...
}

void CMyDialog::OnTimer(UINT nIDEvent)
{
... // my code}
}
GeneralRe: SetTimer doesn't work Pin
Dmitriy1-Jun-00 9:54
Dmitriy1-Jun-00 9:54 
GeneralRe: SetTimer doesn't work Pin
Member 117662571-Jun-00 11:52
Member 117662571-Jun-00 11:52 
GeneralRe: SetTimer doesn't work Pin
Dmitriy2-Jun-00 4:14
Dmitriy2-Jun-00 4:14 
GeneralRe: SetTimer doesn't work Pin
Member 117662572-Jun-00 6:12
Member 117662572-Jun-00 6:12 
GeneralRe: SetTimer doesn't work Pin
Dmitriy2-Jun-00 4:15
Dmitriy2-Jun-00 4:15 
GeneralRe: SetTimer doesn't work Pin
Andy Bantly2-Jun-00 8:54
Andy Bantly2-Jun-00 8:54 
GeneralRe: SetTimer doesn't work Pin
Member 117662572-Jun-00 9:35
Member 117662572-Jun-00 9:35 
GeneralRe: SetTimer doesn't work Pin
Paul Hooper6-Jun-00 18:10
Paul Hooper6-Jun-00 18:10 
GeneralRe: SetTimer doesn't work Pin
Stephen Kellett15-Jun-00 8:15
Stephen Kellett15-Jun-00 8:15 
QuestionWhy do enums vanish when my tlb file is imported using ClassWizard? Pin
yaku1-Jun-00 6:21
yaku1-Jun-00 6:21 
GeneralBuilding a DLL Pin
kaine1-Jun-00 6:11
kaine1-Jun-00 6:11 
GeneralRe: Building a DLL Pin
Chris Losinger6-Jun-00 5:12
professionalChris Losinger6-Jun-00 5:12 
QuestionHow to access an Explorer Bar from HTML? Pin
mahesh1-Jun-00 2:53
mahesh1-Jun-00 2:53 
GeneralPlease help with "A required resource" error Pin
Joep1-Jun-00 0:03
Joep1-Jun-00 0:03 
GeneralRe: Please help with Pin
Dmitriy1-Jun-00 6:27
Dmitriy1-Jun-00 6:27 
GeneralRe: Please help with Pin
Tim Deveaux1-Jun-00 6:58
Tim Deveaux1-Jun-00 6:58 
GeneralThanks, that's it! Pin
Joep1-Jun-00 9:04
Joep1-Jun-00 9:04 

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.