>I am trying to set the main VFP window to maximise and use it instead of a main form to house the other forms of my application. I would therefore prefer if this window cannot be restored to any other size and only be minimized or quitted. To accomplish this I have issued the following commands in a UDF called at the start of the application - _screen.windowstate = 2 and _screen.maxbutton = .f. . The problem is that the VFP window hides the taskbar although the taskbar is fixed at the bottom of the screen and it's properties are set to always on top. I'll be gratefull if anyone can tell me why this is happeing and how to get around it...
Robert,
One additional note. Even if the task bar is set to always on top, if auto-hide is enabled, it may disappear. Generally, if Auto-Hide is enabled, the screen should fill the entire desktop. If Auto-Hide is disabled, the screen will size itself so that the task bar will appear at the bottom. This applies to the main screen with the normal settings (.MaxButton = .T. and .WindowState = 2).
Since this is a user option, I personally wouldn't mess with trying to change this.
hth,
George
Ubi caritas et amor, deus ibi est