[DUG] Window maximised in the slightly Claytons sense
Alan Rose
Alan at seabed.co.nz
Mon Aug 22 10:22:00 NZST 2005
I'm not surprised it didn't work with wsMaximised as I said is works
with the window state wsNormal. I actually prefer the look of a
application starting in a normal state. But that's a preference thing so
if your happy that's the main thing.
> -----Original Message-----
> From: delphi-bounces at ns3.123.co.nz
> [mailto:delphi-bounces at ns3.123.co.nz] On Behalf Of Wayne Roser
> Sent: Monday, 22 August 2005 9:03 a.m.
> To: NZ Borland Developers Group - Delphi List
> Subject: Re: [DUG] Window maximised in the slightly Claytons sense
>
> Hmmm, sounds good so I tried it on a program that has never
> displayed the "shifted down version of maximised" problem
> and, voila, it now has it. The SystemParametersInfo thing
> actually messes up the maximised.
>
> I've decided that I don't want wsNormal to mimic wsMaximized
> because I want wsNormal to give users a deliberately designed
> alternative to maximised.
>
> Tried the Rohit solution in the dpr file:
> Application.CreateForm(TInsertFormNameHere, InsertFormNameHere);
> InsertFormNameHere.Show;
> InsertFormNameHere.WindowState := wsMaximized; and from
> my sample of 1, this works perfectly.
>
> Wayne
>
>
More information about the Delphi
mailing list