Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement