Ben,
WAG, did you try to flip ControlBox property? I would also try to flip Lockscreen property.
>
>I seek your help to solve the following problem because you are an expert of Windows API. I'd be grateful if you would check if some Windows API calls are able to solve this problem.
>
>On VFP9-SP2 _Screen.Closable=.T. does not restore the closable visual clue on Windows 7. After running the code below, the screen "close" button [X] is dim although it can be clicked to close the screen. I got complaints from my clients about this bug. This problem is not found in other versions of Windows.
>
>_Screen.Closable=.F.
>* Do something, e.g., showing a model form.
>Wait Window
>_Screen.Closable=.T.
>
>
--sb--