General information
Category:
Forms & Form designer
Environment versions
Network:
Windows 2003 Server
>Jim,
>
>The sysmetric() calls the others gave will tell you the machine level screen metrics. You can see how big they have your application window with _screen.Height and .Width, and of any individual form by checking its .Height and .Width.
>
>>I think my question was a little too vague. What I am looking for are the height and width of the client area of a form at runtime.
Dave et al,
Thanks for your suggestions. You are probably wondering what I am trying to do. I have a form within another form. I was thinking about writing code so that the inner form would fill the client area of the outer form. It just dawned on me that I can set the WindowState of the inner form to 2 - Maximized, and it will fill the client area of the outer form regardless of size.
Jim
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only