--- David Brown <[EMAIL PROTECTED]> wrote: > Designing a little clock .Net beastie. I'm unable to determine how, if even > possible, to have .Net tell me when the system clock updates (specifically, the > second). Currently I have a simple WinForm Timer object at 100ms and checking > the DateTime.Now for a changed value. Inefficient, but it works.
Entirely suitable technique IMO. It is what Petzold uses in his Windows Forms book. And ten messages a second is not a huge amount by any means. > Anyone know of a better way? Not that is as good. You could set up a separate thread, but I'd say that is probably a worse technique overall. Peter __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.