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

C / C++ / MFC

 
AnswerRe: how can I call a .exe in c++ Pin
Anilkumar K V19-Jul-06 2:18
Anilkumar K V19-Jul-06 2:18 
AnswerRe: how can I call a .exe in c++ Pin
Cedric Moonen19-Jul-06 2:19
Cedric Moonen19-Jul-06 2:19 
AnswerRe: how can I call a .exe in c++ Pin
Hamid_RT19-Jul-06 2:31
Hamid_RT19-Jul-06 2:31 
GeneralRe: how can I call a .exe in c++ Pin
mwolf12219-Jul-06 21:36
mwolf12219-Jul-06 21:36 
QuestionSetTimer, nIDEvent and timer identification Pin
Dimitris Vikeloudas19-Jul-06 1:41
Dimitris Vikeloudas19-Jul-06 1:41 
AnswerRe: SetTimer, nIDEvent and timer identification Pin
Kurt _B19-Jul-06 2:57
Kurt _B19-Jul-06 2:57 
GeneralRe: SetTimer, nIDEvent and timer identification Pin
Dimitris Vikeloudas19-Jul-06 3:17
Dimitris Vikeloudas19-Jul-06 3:17 
GeneralRe: SetTimer, nIDEvent and timer identification [modified] Pin
bosfan19-Jul-06 4:06
bosfan19-Jul-06 4:06 
Hello,
do you have:

ON_WM_TIMER()
in your Messagemap included??
than you have to call the function like this:
<br />
// but befor call OnTimer you have first set the timer in some other funktion:<br />
int SomeOtherFunc()<br />
{<br />
nIDEvent = SetTimer(iTimerIdentifier, iIntervalMiliSecond,0); //iTimerIdentifier is stored in nIDEvent for use in OnTimer(UINT nIDEvent), iIntervalMiliSecond is the time to wait between intervals<br />
// example<br />
nIDEvent = SetTimer(2, 1000,0);<br />
}<br />
afx_msg void MyAppDlg::OnTimer(UINT nIDEvent)<br />
{<br />
// do something with this nIDEvent<br />
switch(nIDEvent)<br />
{<br />
case 1:<br />
{<br />
...<br />
break;<br />
}<br />
case 2:<br />
{<br />
// in my example the OnTimer jump here, and i can do something ...<br />
<br />
...<br />
break;<br />
}<br />
//etc.<br />
default:<br />
break;<br />
}<br />
}<br />
<br />
....<br />

give peace of code to see what you coding to set and start timer!

break;

-- modified at 11:13 Wednesday 19th July, 2006
QuestionMenus Disable when Switch from One View to Another View. [modified] Pin
Uday Janaswamy19-Jul-06 1:30
Uday Janaswamy19-Jul-06 1:30 
AnswerRe: Menus Disable when Switch from One View to Another View. Pin
Steve S19-Jul-06 1:49
Steve S19-Jul-06 1:49 
GeneralRe: Menus Disable when Switch from One View to Another View. Pin
Uday Janaswamy19-Jul-06 1:57
Uday Janaswamy19-Jul-06 1:57 
GeneralRe: Menus Disable when Switch from One View to Another View. Pin
Steve S19-Jul-06 6:34
Steve S19-Jul-06 6:34 
QuestionTAB CONTROL [modified] Pin
ashish dogra19-Jul-06 0:38
ashish dogra19-Jul-06 0:38 
AnswerRe: TAB CONTROL Pin
Hamid_RT19-Jul-06 2:27
Hamid_RT19-Jul-06 2:27 
Questiondouble to CString and back Pin
Desmo1619-Jul-06 0:29
Desmo1619-Jul-06 0:29 
AnswerRe: double to CString and back Pin
see me19-Jul-06 0:48
see me19-Jul-06 0:48 
AnswerRe: double to CString and back Pin
Roland Pibinger19-Jul-06 8:28
Roland Pibinger19-Jul-06 8:28 
AnswerRe: double to CString and back Pin
Naveen19-Jul-06 0:48
Naveen19-Jul-06 0:48 
AnswerRe: double to CString and back Pin
Ștefan-Mihai MOGA19-Jul-06 0:50
professionalȘtefan-Mihai MOGA19-Jul-06 0:50 
AnswerRe: double to CString and back Pin
Hamid_RT19-Jul-06 2:37
Hamid_RT19-Jul-06 2:37 
GeneralRe: double to CString and back Pin
Desmo1619-Jul-06 3:39
Desmo1619-Jul-06 3:39 
GeneralRe: double to CString and back [modified] Pin
toxcct19-Jul-06 3:40
toxcct19-Jul-06 3:40 
GeneralRe: double to CString and back Pin
Zac Howland19-Jul-06 4:32
Zac Howland19-Jul-06 4:32 
GeneralRe: double to CString and back Pin
toxcct19-Jul-06 4:46
toxcct19-Jul-06 4:46 
GeneralRe: double to CString and back [modified] Pin
Zac Howland19-Jul-06 4:55
Zac Howland19-Jul-06 4:55 

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.