Hi Sergey,
I've tried your code. First of all, I'm using VFP6, so instead of _screen.hWnd I put GetActiveWindow(). Is it Ok?
Secondly, it returns 1223 (no visual error messages). Where can I find, what does each error code mean?
Thanks in advance.
UPDATE. Once I changed the code to the original NumToDWORD code, it worked in sample I was trying... Progress title was ignored, though...
I also found, how to make the original code work. I should pass destination parameter as directory name and not as MyDir\file.* as I tried before.
If it's not broken, fix it until it is.
My Blog