Is there any way of determining if a maximize or minimize button has been pressed on a form. In a MDI document I need to be able to restore the child window to it's original size.
As far as I know, you can check to see if the form has been maximised or minimised (by looking at the WindowState property), but that doesn't tell you how it was maximised or minimised. It might have been done by the user clicking the buttons you mentioned, but it might just as well have been done from the control menu, or the Windows taskbar, or programmatically.
Is there any special reason you know to know specifically if those buttons were clicked?
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
True, but doesn't it also fire if you resize by selecting from the control menu or by right-clicking in a taskbar button? How would Wigwug be able to distinguish between those actions (assuming that is what he wants to do)?
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.