Click here to Skip to main content
15,897,334 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: I'm not a programmer, but looking for help Pin
Marek Grzenkowicz27-Dec-03 1:10
Marek Grzenkowicz27-Dec-03 1:10 
Generalfocus different views and timer Pin
(Steven Hicks)n+126-Dec-03 11:19
(Steven Hicks)n+126-Dec-03 11:19 
GeneralRe: focus different views and timer Pin
Monty226-Dec-03 20:59
Monty226-Dec-03 20:59 
GeneralRe: focus different views and timer Pin
(Steven Hicks)n+127-Dec-03 13:15
(Steven Hicks)n+127-Dec-03 13:15 
Generalauto start program when load Pin
Vietnight26-Dec-03 10:57
Vietnight26-Dec-03 10:57 
GeneralRe: auto start program when load [modified] Pin
Marek Grzenkowicz27-Dec-03 1:14
Marek Grzenkowicz27-Dec-03 1:14 
GeneralRe: auto start program when load Pin
Vietnight27-Dec-03 6:37
Vietnight27-Dec-03 6:37 
GeneralRe: auto start program when load [modified] Pin
Marek Grzenkowicz27-Dec-03 20:21
Marek Grzenkowicz27-Dec-03 20:21 
I guess that this happens when you press the Go button:
case IDSTART:<br />
timerid=timeSetEvent(current->delay,current->delay,TimeProc,0,TIME_PERIODIC);<br />
return TRUE;


Am I right? If yes, put the timerid=timeSetEvent... line in WM_INITDIALOG. You will have something like this:
case WM_INITDIALOG:<br />
timerid=timeSetEvent(current->delay,current->delay,TimeProc,0,TIME_PERIODIC);<br />
return TRUE;


This should do the trick. If it does, let me know. And if it doesn't, you can send me the code and I'll work it out.

modified on Monday, August 30, 2010 6:32 AM

GeneralRe: auto start program when load Pin
Vietnight27-Dec-03 22:33
Vietnight27-Dec-03 22:33 
GeneralRe: auto start program when load [modified] Pin
Marek Grzenkowicz27-Dec-03 22:56
Marek Grzenkowicz27-Dec-03 22:56 
GeneralRe: auto start program when load Pin
Vietnight28-Dec-03 7:05
Vietnight28-Dec-03 7:05 
GeneralRe: auto start program when load Pin
valikac27-Dec-03 5:45
valikac27-Dec-03 5:45 
GeneralRe: auto start program when load Pin
Vietnight27-Dec-03 6:39
Vietnight27-Dec-03 6:39 
GeneralProject always out of date ?! Pin
ldaoust26-Dec-03 10:30
ldaoust26-Dec-03 10:30 
GeneralRe: Project always out of date ?! Pin
ldaoust26-Dec-03 11:15
ldaoust26-Dec-03 11:15 
GeneralHelp, can't resolve an error. Pin
Snyp26-Dec-03 8:28
Snyp26-Dec-03 8:28 
GeneralRe: Help, can't resolve an error. Pin
Michael Dunn26-Dec-03 8:49
sitebuilderMichael Dunn26-Dec-03 8:49 
GeneralRe: Help, can't resolve an error. Pin
Snyp26-Dec-03 9:03
Snyp26-Dec-03 9:03 
GeneralRe: Help, can't resolve an error. Pin
Monty226-Dec-03 21:56
Monty226-Dec-03 21:56 
GeneralUse of MFC Pin
jdgonko26-Dec-03 6:57
jdgonko26-Dec-03 6:57 
GeneralRe: Use of MFC Pin
Ian Darling26-Dec-03 7:40
Ian Darling26-Dec-03 7:40 
GeneralRe: Use of MFC Pin
jdgonko26-Dec-03 8:57
jdgonko26-Dec-03 8:57 
GeneralRe: Use of MFC Pin
Monty226-Dec-03 21:29
Monty226-Dec-03 21:29 
GeneralCImage (the build in atl/mfc class) Pin
loading26-Dec-03 5:13
loading26-Dec-03 5:13 
GeneralMake Static Text (CEdit) to detect mouse click Pin
J.B.26-Dec-03 4:17
J.B.26-Dec-03 4:17 

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.