Click here to Skip to main content
15,890,336 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: OnTimer function is killed automatically when the dialog is closed Pin
Jochen Arndt23-Feb-12 22:21
professionalJochen Arndt23-Feb-12 22:21 
QuestionRe: OnTimer function is killed automatically when the dialog is closed Pin
Richard MacCutchan23-Feb-12 22:24
mveRichard MacCutchan23-Feb-12 22:24 
AnswerRe: OnTimer function is killed automatically when the dialog is closed Pin
shanmugarajaa23-Feb-12 23:28
shanmugarajaa23-Feb-12 23:28 
GeneralRe: OnTimer function is killed automatically when the dialog is closed Pin
Richard MacCutchan23-Feb-12 23:40
mveRichard MacCutchan23-Feb-12 23:40 
AnswerRe: OnTimer function is killed automatically when the dialog is closed Pin
bjorn_ht23-Feb-12 22:29
bjorn_ht23-Feb-12 22:29 
GeneralRe: OnTimer function is killed automatically when the dialog is closed Pin
shanmugarajaa23-Feb-12 23:37
shanmugarajaa23-Feb-12 23:37 
GeneralRe: OnTimer function is killed automatically when the dialog is closed Pin
bjorn_ht24-Feb-12 1:22
bjorn_ht24-Feb-12 1:22 
GeneralRe: OnTimer function is killed automatically when the dialog is closed Pin
shanmugarajaa24-Feb-12 1:53
shanmugarajaa24-Feb-12 1:53 
But I am get error when i try to implement UINT_PTR timerId = ::SetTimer(0, 42, 1000, myOnTimer);
in MFC VS6

ErrorReport:
'SetTimer' : cannot convert parameter 4 from 'void (struct HWND__ *,unsigned int,unsigned long,unsigned long)' to 'void (__stdcall *)(struct HWND__ *,unsigned int,unsigned int,unsigned long)'

GeneralRe: OnTimer function is killed automatically when the dialog is closed Pin
bjorn_ht24-Feb-12 3:18
bjorn_ht24-Feb-12 3:18 
GeneralRe: OnTimer function is killed automatically when the dialog is closed Pin
shanmugarajaa24-Feb-12 19:49
shanmugarajaa24-Feb-12 19:49 
GeneralRe: OnTimer function is killed automatically when the dialog is closed Pin
shanmugarajaa26-Feb-12 20:16
shanmugarajaa26-Feb-12 20:16 
GeneralRe: OnTimer function is killed automatically when the dialog is closed Pin
bjorn_ht26-Feb-12 22:31
bjorn_ht26-Feb-12 22:31 
GeneralRe: OnTimer function is killed automatically when the dialog is closed Pin
shanmugarajaa27-Feb-12 0:38
shanmugarajaa27-Feb-12 0:38 
SuggestionRe: OnTimer function is killed automatically when the dialog is closed Pin
shanmugarajaa27-Feb-12 17:49
shanmugarajaa27-Feb-12 17:49 
GeneralRe: OnTimer function is killed automatically when the dialog is closed Pin
bjorn_ht28-Feb-12 21:38
bjorn_ht28-Feb-12 21:38 
GeneralRe: OnTimer function is killed automatically when the dialog is closed Pin
shanmugarajaa28-Feb-12 2:41
shanmugarajaa28-Feb-12 2:41 
GeneralRe: OnTimer function is killed automatically when the dialog is closed Pin
bjorn_ht28-Feb-12 21:46
bjorn_ht28-Feb-12 21:46 
GeneralRe: OnTimer function is killed automatically when the dialog is closed Pin
David Crow24-Feb-12 3:18
David Crow24-Feb-12 3:18 
QuestionLeap year algorithm Pin
marca29223-Feb-12 20:52
marca29223-Feb-12 20:52 
AnswerRe: Leap year algorithm Pin
Jochen Arndt23-Feb-12 21:14
professionalJochen Arndt23-Feb-12 21:14 
AnswerRe: Leap year algorithm Pin
CPallini23-Feb-12 21:51
mveCPallini23-Feb-12 21:51 
GeneralRe: Leap year algorithm Pin
SandipG 23-Feb-12 23:26
SandipG 23-Feb-12 23:26 
GeneralRe: Leap year algorithm Pin
CPallini23-Feb-12 23:31
mveCPallini23-Feb-12 23:31 
GeneralRe: Leap year algorithm Pin
SandipG 23-Feb-12 23:35
SandipG 23-Feb-12 23:35 
AnswerRe: Leap year algorithm Pin
SandipG 23-Feb-12 23:23
SandipG 23-Feb-12 23:23 

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.