http://bugs.winehq.com/show_bug.cgi?id=1735
------- Additional Comments From gary@evalunet.co.za 2003-29-09 08:13 ------- Still happens for me with the version I updated to this morning. I can supply you with a program to test this - I'd prefer to email it to you because submitting webforms from my internet connection here is very painful.
The test program does however detect display the correct screen size. We've made our program work around the problem by getting the program to set its window size to the size of screen, rather than relying on wine/windows to maximize it correctly.
Other programs that have window borders (title bars, etc.) can be maximized properly. If I change the test program from being borderless to having a normal window border, then it behaves correctly.
In Delphi there are a couple of different window border styles defined: None, Single, Sizable and Dialog. These correspond to the following window styles:
None: WS_POPUP Single: WS_CAPTION || WS_BORDER Sizeable: WS_CAPTION || WS_THICKFRAME Dialog: WS_POPUP || WS_CAPTION