Can you show an example where this happens?

Signature
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com
> Why FromWindowState still shows maximized even after the size is changed
> to something normal? Is there a way to find the true WindowState of a
> form?
Pohihihi - 14 Dec 2005 20:57 GMT
Sorry no code as I deleted the whole thing in frustration. I will recode and
post later. For now it is like following:
Create form with WindowState = Mezimized in design time settings
Open form (with some kind of debugging field, I used variables to get the
state in Location changed and Size changed event)
Form will open mazimized
Click on the min/max button on the form
Form reduce to design time size
Read the value for windowstate and it says maximized.
Thanks.
> Can you show an example where this happens?
>
>> Why FromWindowState still shows maximized even after the size is changed
>> to something normal? Is there a way to find the true WindowState of a
>> form?
> Why FromWindowState still shows maximized even after the size is changed
> to something normal? Is there a way to find the true WindowState of a
> form?
Are you sure you read the "WindowState" property?
Willy.