I have been dabbling with getting some of our Windows applications running under Linux using the CodeWeavers preview 20010629. I am making good progress and am very pleased with the results. However I am currently stuck on one problem. The Windows software is developed using Borland Delphi and the application includes a number of forms that are intended to be displayed full screen. The forms have the Delphi property WindowState set to wsMaximised. Under Windows they open maximised. Under Wine they open at their design size. Can anybody give me any clues as to what I should be looking at to fix this? -- Martin Liddle, Tynemouth Computer Services, 27 Garforth Close, Cramlington, Northumberland, England, NE23 6EW. Phone: 01670-712624. Fax: 01670-717324. Web site: <http://www.tynecomp.co.uk>.
On 14 Aug 2001 00:44:34 +0100, Martin Liddle wrote:> I have been dabbling with getting some of our Windows applications > running under Linux using the CodeWeavers preview 20010629. I am making > good progress and am very pleased with the results. However I am > currently stuck on one problem. The Windows software is developed using > Borland Delphi and the application includes a number of forms that are > intended to be displayed full screen. The forms have the Delphi > property WindowState set to wsMaximised. Under Windows they open > maximised. Under Wine they open at their design size. Can anybody give > me any clues as to what I should be looking at to fix this?try wine --managed (your application) which will start an app with the gnome or kde window manager then maximize and right click on top left corner and set the size Peter
On Tue, 14 Aug 2001 00:44:34 +0100, Martin Liddle <martin@tcs02.demon.co.uk> wrote: <snip>>. The forms have the Delphi >property WindowState set to wsMaximised. Under Windows they open >maximised. Under Wine they open at their design size.I have tried to create a sample app using D5 and I don't see this problem. Which version of Delphi do you use ? Gerard
In message <3b7ad0f7.123374@news.nerim.net>, gerard patel <g.patel@wanadoo.fr.invalid> writes>On Wed, 15 Aug 2001 17:59:30 +0100, Martin Liddle ><martin@tcs02.demon.co.uk> wrote: > >>I am also using Delphi 5. I happily admit to being a Wine newbie and >>not a particularly experienced Delphi programmer (although an >>experienced Pascal programmer). I am almost certainly doing something >>stupid either in Wine or with my Delphi code. Could I impose on you by >>sending you my test application? > >Right, my real provider is nerim.net and the address >is gerard.patel >Thanks for the offer but I have made some progress. In producing a test program, I think I may have isolated the problem. It seems to me that it relates to the BorderStyle property of the forms in Delphi. If this is set to bsNone (which my forms were) then I get the problem described. If the form is created with e.g. bsSizeable and then the BorderStyle is changed to bsNone at run time then everything works as expected. I am not sure if this is expected behaviour but at least I have a fairly painless workaround. Perhaps you could try this on your test program and see if you see the same phenomenon. Thanks again for your help. -- Martin Liddle, Tynemouth Computer Services, 27 Garforth Close, Cramlington, Northumberland, England, NE23 6EW. Phone: 01670-712624. Fax: 01670-717324. Web site: <http://www.tynecomp.co.uk>.