I have a winforms application which has an mdi parent with several mdi child forms. I am allowing the user to minimise the child forms within the mdi parent. I am also forcing a maximum of 1 instance of each form to be open, so if the user tries to open a second instance of a form (mdi child), it will try to find an existing instance of that form, and bring that to the front. If the form is minimised at this point, I need to restore. This is where my problem is - how do I know if the child form should be normalised or maxmised?
Different users will have different preferences - some will work with the child forms maximised, some with it normalised, so when the minimised form is "un-minimised", it should match normal/maximised schema of the mdi parent. How do I determine what the current normal/maximised setting is for the mdi parent (as I beleive all mdi children are the same - either normal or maximised).
I hope this question made sense - feel free to ask questions if I made it all confusing.