>Hi there,
>
>I start my POS-App with a maximized window (formstate 2) and everything is fine.
>The window fills the screen and respects the space used by windows für the taskbar.
>Now I want the user to prevent from clicking the MaxButton to prevent reszing of the
>windows and set the property to .F. but now the space of the taskbar is no longer
>respected and a lower part of my window is hidden under the taskbar.
>I already fixed it by setting the windowstate back to 2 if it is set in the resize-event to 0, but this does not
>look to be the best solution. Has anybody some explanation for this behaviour and maybe
>some advice.
.windowstate=2
.maxbutton=.f.