>>Boris:
>>
>>I tried your suggestion and got an error message "Cannot find entry point ShowWindow in the DLL".
Just one comment on this one, if you use the Beautify Tool, it will screw up the declaration of ShowWindow, you have to use an undocumented Beautify directive (VFP9 only):
DECLARE INTEGER ShowWindow IN user32 AS ShowWindowAPI ;
INTEGER HWND,;
INTEGER nCmdShow
I also declare ShowWindow as ShowWindowAPI to avoid confusion with the native ShowWindow property.
Carlos Alloatti