
SDI vs MDI, or mulththreading?
We are developing an application to manage customer records for a
phone company. We have come to a disagreement in the project about
what exactly the difference is between SDI & MDI. I tend to follow the
standard definition given in all the Microsoft documentation (an MDI
program is one that allows multiple views of an object through child
windows, all enclosed in one parent window & the parent window is the
only one with a menu bar. SDI allows one single view of an object).
An associate of mine disagrees with this definition. He says that with
an SDI program you have only one main window, but you can have many
instances of main windows, or in other words you have the ability to
retrieve multiple occurances of an object (in our case, different
customers). Each of these main windows would have a meu bar that would
allow action to be taken (saving,editing) on the object in the
associated window (in this case, our customer information). I'm not
familiar with the Windows architecture but I'm fairly sure that this
is not an SDI application....I am thinking this is more of a
multithreading thing. Can anyone clarify?
I guess another way to ask this question would be to say that we are
developing an application that requires us to be able to retrieve
multiple, different customers and have them open in different windows
at the same time, each with their own menu bars. Would this be an SDI
or MDI application and would it have to be multithreaded?
Any help greatly appreciated!
Brian