I have an application that is written in Visual Studio 2005 and is configured in the form properties to start maximized. The form size property is set to 1024x768 with that also being the minimum size property. The maximum size property is set to 1280x1024. In XP and Windows 7, the form will start as expected and fill the screen on a display up to 1280x1024. You may grab the top bar on the form and drag the form around, if desired. This works fine in XP, however in Windows 7 the form will snap to the minimum size of 1024x768 if you try to move it. I intentionally do not have any minimize/,maximize button on the top form bar as this is intended to be a kiosk app and not change size. You can move the window to the upper left corner and pull the right and bottom edges out to fill the screen again, at which point the window WILL retain the full size even if you move it.
In addition, when I start maximized in either OS, the window is full screen with the bottom behind and BELOW the task bar instead of at the top of the task bar (truly full screen).
How do I open my window to be full screen size with the bottom sitting on top of the task bar AND not have the size change if moved in Windows 7? Most apps I see will compensate their size if the task bar is change to auto-hide or back to always present.
I'm still relatively green to the .NET programming and just cannot figure these two issues out.
Thanks for any help that can be given!!