Groups | Blog | Home
all groups > c# > august 2003 >

c# : Form positioning when maximized


timtos
8/25/2003 9:21:43 PM
Hello.
I´ve got a form which maximum size is 300x300 pixels.
It can be resized and maximized. The problem:

If the user sets the window state to maximized, the forms location
is set to 0,0. Changing the Location property doesn´t help.

Is it possible to center it on the screen even if maximized?
And if yes, how is it done?

Thanks for any ideas,
timtos.

timtos
8/26/2003 12:19:27 PM
Ok.
I´ll think over it again.
Thanks everyone for the help!

Greetings, timtos.

[quoted text, click to view]

AddThis Social Bookmark Button