Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Form with MaxWidth/MaxHeight maximizes
Versions des environnements
Network:
Windows 2008 Server
I have a form class for which I've set MaxWidth and MaxHeight. When I click the maximize button in the form, it properly maximizes to the size I've specified.
However, the form runs inside a top-level window. If the top-level window is minimized and then restored while my form is maximized, when it reappears, my form now fills the top-level window, ignoring MaxWidth and MaxHeight. The same thing happens if I maximize the top-level window while my form is maximized.
Anybody run into this? Have any ideas how to prevent it?
Tamar
Suivant
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