>If you do a LockWindowUpdate(_vfp.Hwnd) it will freeze the progressbar if the statusbar is on the main VFP screen, of course. Which window are you going to do LockWindowUpdate to? If you do it to the slow loading Form, no problem.
>
Yes, to the form. Ok, that's good to know.
>>I just copied both class libraries into our libs directory. Also do I understand correctly that status bar removes itself when my application is closed if I'm working in debug mode (e.g. doing do main from command window)?
>
>In your program exit routine, you should have a line to release the statusbar:
>
>
>_Screen.RemoveObject("myStatusBarName")
>
Ok, will do.
If it's not broken, fix it until it is.
My Blog