>>There you have it. Now, is this really the easiest way? I mean, wouldn't be simplier to call a WIN32API function when we want to avoid keyboard and mouse buffer instead of handling this object?
>>
>>Thanks.
>
>It's only a question of choice.
>
>IMHO, add a transp. shape on top of all control of the form during developpement and set this shape 'visible=.F.' is far more easy and less hasardous then play with the API.
>
>And put a
>
thisform.TopShape.Visible=.T.>before other instructions, and
>
thisform.TopShape.Visible=.F.>after is not a big overhead compare to any other way to handle this.
It is in the way that we need to add this shape to each form we need that feature. We also need to resize it the proper size. However, even with an API, we will need a one line of code before and after. It's just that we have to deal with the shape. :)
Thanks.