Re: Win32Lib; Timed events

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hmmm, linking the timer to a window seems to work, but when I try creating timer
that isn't connected to any controls (using zero instead of a control), it no
longer works, it seems..

procedure evnTIM_TimerX (integer hControl, integer hEvent, sequence uParameters)
  --
  setText({sbMAF, 1}, "5 seconds passed..")
  --
end procedure
setTimer(0, 1, 5000)
setHandler(1, w32HTimer, routine_id("evnTIM_TimerX"))

I had to change from showMessage to setText...

Kenneth/ZNorQ

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu