I see the same running your code under VFP7SP1 WIN2KSP2.
>Hi,
>
>I've currently written some code in a toolbar, that takes a little time to execute and does some manipulations regarding the graphical appearance of a control which is on the toolbar.
>
>During the processing I've done a THISFORM.LockScreen = .T. The longer the code took to run the more I noticed, that the toolbar's border went away during the lock. Below is some code, so anyone who wants can verify this behaviour.
>
>I've already found a workaround (using the WIN-API function LockWindowUpdate with _VFP.Hwnd - toolbar.Hwnd had other side effects).
>
>Just wondered, if this is a known issue or if the problem only exists on my machine.
>
>TIA,
>Armin
>
< snip >
--sb--