Click here to Skip to main content
15,893,722 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: for loop Pin
CPallini18-Mar-09 0:47
mveCPallini18-Mar-09 0:47 
GeneralRe: for loop Pin
sonyrehal17-Mar-09 21:39
sonyrehal17-Mar-09 21:39 
AnswerRe: for loop [modified] Pin
Cedric Moonen17-Mar-09 21:23
Cedric Moonen17-Mar-09 21:23 
QuestionHow to get control information about slider Pin
John50217-Mar-09 20:53
John50217-Mar-09 20:53 
AnswerRe: How to get control information about slider Pin
S p k 52117-Mar-09 21:04
S p k 52117-Mar-09 21:04 
QuestionSetWaitableTimer Issue:- CALLBACK function not getting called Pin
S p k 52117-Mar-09 20:48
S p k 52117-Mar-09 20:48 
AnswerRe: SetWaitableTimer Issue:- CALLBACK function not getting called Pin
Cedric Moonen17-Mar-09 21:14
Cedric Moonen17-Mar-09 21:14 
GeneralRe: SetWaitableTimer Issue:- CALLBACK function not getting called Pin
S p k 52117-Mar-09 22:29
S p k 52117-Mar-09 22:29 
yes.. i am attaching the code here..

//In the Dialog class of my application
m_DsnTimer.SetTimer(100, &TimerProc, (LPVOID)this);
//here TimerProc is a callback function defined in the dlg class
int WINAPI TimerProc(LPVOID lpArgToCompletionRoutine)
{
CTimerApplicationDlg* obj = (CTimerApplicationDlg*)lpArgToCompletionRoutine;
AfxMessageBox(_T("In TimerProc"));
return false;

}

here m_DsnTimer is the tmer class
//In SetTimer Function i am doing like this
BOOL bReturn = FALSE;
LARGE_INTEGER liDueTime;
liDueTime.QuadPart = -uiElapse;
PTIMERAPCROUTINE pcbTimerProc;
pcbTimerProc = (PTIMERAPCROUTINE)cbTimerProc;
if (NULL != m_hTimer)
{
bReturn = SetWaitableTimer(m_hTimer, &liDueTime,
1,
pcbTimerProc,
lpParam,
FALSE);

}


Regards,
Spk
GeneralRe: SetWaitableTimer Issue:- CALLBACK function not getting called Pin
Stuart Dootson18-Mar-09 0:36
professionalStuart Dootson18-Mar-09 0:36 
GeneralRe: SetWaitableTimer Issue:- CALLBACK function not getting called Pin
S p k 52118-Mar-09 1:16
S p k 52118-Mar-09 1:16 
GeneralRe: SetWaitableTimer Issue:- CALLBACK function not getting called Pin
Stuart Dootson18-Mar-09 1:57
professionalStuart Dootson18-Mar-09 1:57 
GeneralRe: SetWaitableTimer Issue:- CALLBACK function not getting called Pin
S p k 52118-Mar-09 18:40
S p k 52118-Mar-09 18:40 
QuestionHow to establish a server in C++ : IP address issue Pin
includeh1017-Mar-09 19:00
includeh1017-Mar-09 19:00 
AnswerRe: How to establish a server in C++ : IP address issue Pin
Garth J Lancaster17-Mar-09 23:19
professionalGarth J Lancaster17-Mar-09 23:19 
AnswerRe: How to establish a server in C++ : IP address issue Pin
Iain Clarke, Warrior Programmer18-Mar-09 0:25
Iain Clarke, Warrior Programmer18-Mar-09 0:25 
QuestionLinking library help. Pin
FISH78617-Mar-09 14:42
FISH78617-Mar-09 14:42 
AnswerRe: Linking library help. Pin
Garth J Lancaster17-Mar-09 16:11
professionalGarth J Lancaster17-Mar-09 16:11 
GeneralRe: Linking library help. Pin
FISH78617-Mar-09 16:31
FISH78617-Mar-09 16:31 
GeneralRe: Linking library help. Pin
Garth J Lancaster17-Mar-09 17:05
professionalGarth J Lancaster17-Mar-09 17:05 
GeneralRe: Linking library help. Pin
FISH78617-Mar-09 17:51
FISH78617-Mar-09 17:51 
QuestionDigita Stop Watch Pin
Astitva2317-Mar-09 14:17
Astitva2317-Mar-09 14:17 
AnswerRe: Digita Stop Watch Pin
Garth J Lancaster17-Mar-09 14:32
professionalGarth J Lancaster17-Mar-09 14:32 
QuestionShowing an image to the use Pin
llp00na17-Mar-09 11:21
llp00na17-Mar-09 11:21 
AnswerRe: Showing an image to the use Pin
CPallini17-Mar-09 11:32
mveCPallini17-Mar-09 11:32 
GeneralRe: Showing an image to the use Pin
llp00na17-Mar-09 11:44
llp00na17-Mar-09 11:44 

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.