[DUG] Window maximised in the slightly Claytons sense

Wayne Roser rr at kristin.school.nz
Mon Aug 22 12:37:29 NZST 2005


Oops, misunderstanding.
I did the app normalised, using 
>SystemParametersInfo
 to make normalised look "big" and the appearance was just like the
shifted down maximised one that I originally posted about.
Then later, I did a maximised option, separately and shouldn't've put it
in the same email: sorry.

NZ Borland Developers Group - Delphi List <delphi at ns3.123.co.nz> on
Monday, 22 August 2005 at 10:22 +0000 wrote:
>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
>> 
>> 
>
>_______________________________________________
>Delphi mailing list
>Delphi at ns3.123.co.nz
>http://ns3.123.co.nz/mailman/listinfo/delphi




More information about the Delphi mailing list