Quote Originally Posted by pakulo View Post
it is a pity, because i see this func in many programs
Yes, and these programs are directly calling Win32 to do this. You will need to do the same, and if you want the app to be crossplatform, do the equivalent under X11 and Aqua as well.