Einzelnen Beitrag anzeigen

Benutzerbild von thkerkmann
thkerkmann

Registriert seit: 7. Jan 2006
Ort: Pulheim Brauweiler
464 Beiträge
 
Delphi 2010 Professional
 
#4

Re: SetTimer + Windows-Message bei hWnd=0

  Alt 19. Apr 2006, 19:49
Hi nochmal,

hab mir mal grad die KillTimer geschichte im MSDN durchgeschaut.

Zitat:
This function destroys the specified timer. The system searches the message queue for any pending WM_TIMER messages associated with the timer and removes them.
und weiter...

Zitat:

When KillTimer is called, the timer is removed from the list immediately. The next time GetMessage is called it will be impossible to get a WM_TIMER message from the timer because it is no longer in the message queue's list of timers.
Also nach KillTimer kann man KEINE message mehr für diesen Timer erwarten, lese ich daraus.

Gruss

Thomas

[edit]
Mist, das ist für CE....

Bei Windows werden sie nicht removed - du hat Recht....
[/edit]
Thomas Kerkmann
Ich hab noch einen Koffer in Borland.
http://thomaskerkmann.wordpress.com/
  Mit Zitat antworten Zitat