>I don't think it's easy to do in any language. This is one of the cruelties you get for using Windows. A mismash of low level API calls to do something that should have been simple.
This is something I've always thought about Windows:
It makes the tough things simple to do, and the simple things IMPOSSIBLE!
Fred