Home All Groups Group Topic Archive Search About

Maximize/Minimize form without API

Author
12 Apr 2006 12:11 AM
Adam Honek
Hi all,

Is there an inherent function within a form object to maximize and minimize
it?

Or must we use the API using SendMessage?

I can't seem to see anything from the list.

Thanks,
Adam

Author
12 Apr 2006 12:15 AM
ShaneO
Adam Honek wrote:
> Hi all,
>
> Is there an inherent function within a form object to maximize and minimize
> it?
>
> Or must we use the API using SendMessage?
>
> I can't seem to see anything from the list.
>
> Thanks,
> Adam
>
>

Use -

WindowState = FormWindowState.Maximized / .Minimized / .Normal

ShaneO

There are 10 kinds of people - Those who understand Binary and those who
don't.
Author
12 Apr 2006 1:22 AM
Adam Honek
Thanks a lot, works great.

To make it obvious I've added the "me." at the beginning.

Adam

Show quoteHide quote
"ShaneO" <shane***@optusnet.com.au> wrote in message
news:443c4685$0$10675$afc38c87@news.optusnet.com.au...
> Adam Honek wrote:
>> Hi all,
>>
>> Is there an inherent function within a form object to maximize and
>> minimize it?
>>
>> Or must we use the API using SendMessage?
>>
>> I can't seem to see anything from the list.
>>
>> Thanks,
>> Adam
>
> Use -
>
> WindowState = FormWindowState.Maximized / .Minimized / .Normal
>
> ShaneO
>
> There are 10 kinds of people - Those who understand Binary and those who
> don't.