Form size

  • Thread starter Thread starter schapopa
  • Start date Start date
S

schapopa

Hi,

I have MDI form that I am trying to get width and heigh correctly
regardless of resolution on the screen. Correctly in my case mean that
it is the same like Maximized.

I tried many functions that some people were describing on this forum
but cannot get the exact one. I always get it a bit to small or get some
scrallers...
I tried ClientRectangle, Screen.PrimaryDisplay..
Can anybody help me...

Schapopa
 
If you want to find whether your window is maximized, then have you tried the
WindowState property of the form?
 
Hi,

Did you try the forms size property.

http://msdn.microsoft.com/library/d...frlrfSystemWindowsFormsFormClassSizeTopic.asp

Ken
----------------------
<schapopa> wrote in message Hi,

I have MDI form that I am trying to get width and heigh correctly
regardless of resolution on the screen. Correctly in my case mean that
it is the same like Maximized.

I tried many functions that some people were describing on this forum
but cannot get the exact one. I always get it a bit to small or get some
scrallers...
I tried ClientRectangle, Screen.PrimaryDisplay..
Can anybody help me...

Schapopa
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top