I've handled the close event on my MDI child forms so that when the user attempts to close them they just get hidden. The problem I now have is that ALT F4 (which should close the entire application) just hides the MDI child that has the focus. Only when all the children have been hidden does the main application close.
Has anybody got any ideas how I could work round this? I suppose I should really associate a class with each child form to hold its data and reload every time the form is shown. Seems like a lot of work though...


Reply With Quote