General information
Category:
Forms & Form designer
Title:
Form with MaxWidth/MaxHeight maximizes
Environment versions
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
Next
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