June 29, 2006
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


June 30, 2006
"llee" <llee_member@pathlink.com> wrote in message news:e80qpv$2soh$1@digitaldaemon.com...
> 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 http://harmonia.terrainformatica.com

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

Best everything.

Andrew.