Re: Timer ?

Robert Roebling <[email protected]> Fri, 08 Apr 2005 20:47:07 +0200
Newsgroups gmane.comp.lib.wxwindows.wxnet
Message-ID <[email protected]>
> > I want to create a timer with wx.net.
> >
> > I must have many method : start - stop - retrieve the time elapsed.
> >
> > I don't find any functions :-(
> 
> Use the .NET SDK's System.Timers.Timer class.
> 
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemtimers.asp
> 
> wx.NET doesn't implement functionality that is already included
> with the .NET framework.

I think you are wrong. As I wrote, wxTimer's events will be sent
to the GUI as if they were GUI events from a control, i.e. they
don't create reentrance problems. I don't know how you would 
notify the GUI process in wx.NET with the timers you mention
without using a mutex or wxPostEvent().

  Robert



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click