I just want to know if there's a predefined way, in freepascal, some statement or function, that does this without having to use the API. I don't mind using it...but I was wondering if I really had to. Basically.