SetTimer function

Andrew Fedoniouk news at
Thu Jun 29 19:08:53 PDT 2006

"llee" <llee_member at> wrote in message 
news:e80qpv$2soh$1 at
> At it again.
> I was wonderring if anyone could post an example program that demonstrates 
> the
> Windows Set Timer function. I would appreiciate it if the coding example
> included the import libraries and compiler options needed to implement it.
> Thanks

Code from

void nativeSetTimer(Window w, uint id, uint millis)
  HWND hWnd = getHWND(w);
  if(millis != 0)
    SetTimer(hWnd, id, millis, null);
    KillTimer(hWnd, id);

Best everything.


More information about the Digitalmars-d mailing list