answersLogoWhite

0

How MDI from is different from SDI?

Updated: 11/22/2022
User Avatar

Wiki User

6y ago

Best Answer

SDI is a single document interface while MDI is a multiple document interface. With SDI applications, only one document can be open in each instance of the application. With MDI, several documents can be opened within the same instance of the application.

Your web browser is an example of an MDI application where web pages can be opened in new tabs within the same instance of the browser, or opened in a new window entirely (a new instance). Web pages can also be freely dragged/dropped between instances.

Windows notepad is an example of an SDI application. The application can only open one document at a time. If you open another document, the current document will be closed. To work on two or more documents simultaneously, you must load separate instances of Notepad for each document.

A document can also have several views associated with it but this has nothing to do with MDI. As an example, consider an HTML web page designer which shows two views of the same document: one containing the HTML code itself and another containing the page view where you can drag and drop individual elements. Changing one automatically changes the other because they are simply different views of the same document.

User Avatar

Wiki User

6y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How MDI from is different from SDI?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is mean by SDI in visual basic?

SDI is a Single Document Interface. As opposed to MDI which is a Multiple Document Interface. the difference is solely in the number of documents that can be opened at one time in each instance of the application. With SDI only one document can be open whereas with MDI many documents can be open.


What is difference between SDI and MDI?

MDI: 1]We can open multiple docs simultaneously. ex:M.S.Word 2]Container control. 3]It holds 5 classes (cchildwnd,cmdichildwnd,c-doc,c-view ,cframewnd). SDI:1]We can open only one doc at a time. 2]It is not a Container control. 3]It holds 4 classes(c-doc,c-view ,underframe,cwinapp).


How does Multiple document interface help in visual c plus plus environment?

The obvious answer is that it allows you to view more than one document or type of document at the same time using the same instance of the application. With SDI (single document interface), each document is loaded in a completely separate instance of the application. There are merits to both approaches, but in more recent times applications are more a hybrid of MDI and SDI, allowing individual documents to be completely detached from the MDI main frame. With multi-monitor desktops this becomes extremely useful as the application window no longer needs to be full-screen in order to get the best view of the documents.


How many MDI forms can be created in Visual Basic. Why?

one MDI forms can be created in VB


What is MDI type view?

MDI is Multiple Document Interface. It is not strictly a VB issue. An MDI application, such as Word, creates an MDI document view for each file that is open. You can have one or many open at the same time. You can also have different views of the same document, if desired. You can switch between them, tile them, cascade them, or move them around. If they are not maximized, you can see more than one at a time. Its the same kind of interface as in the host operating system, except that it is application instance specific. Most MDI interfaces limit the child view to be within the parent window's frame, but non-limited applications are possible with current versions of the API. In any case, support for MDI comes from the application, which must provide message handlers for each user interface event. Some modern IDE's, such as VS2008, provide "automatic" support for MDI, but it is helpful to understand the underlying API.

Related questions

Difference between SDI and MDI form in VB?

SDI consists of only one form whereas MDI can ontain more than one form


What is mean by SDI in visual basic?

SDI is a Single Document Interface. As opposed to MDI which is a Multiple Document Interface. the difference is solely in the number of documents that can be opened at one time in each instance of the application. With SDI only one document can be open whereas with MDI many documents can be open.


What is difference between SDI and MDI?

MDI: 1]We can open multiple docs simultaneously. ex:M.S.Word 2]Container control. 3]It holds 5 classes (cchildwnd,cmdichildwnd,c-doc,c-view ,cframewnd). SDI:1]We can open only one doc at a time. 2]It is not a Container control. 3]It holds 4 classes(c-doc,c-view ,underframe,cwinapp).


How does MDI components help in VC plus plus programming environment?

Multiple document interfaces (MDI) are used in applications where opening two or more files within the same process is desirable. With a single document interface (SDI), if the user wishes to open two or more files, separate instances of the process must be loaded.


What is MDI adjustment?

MDI is an abbreviation which stands for Metered Dose Inhaler. MDI adjustment therefore refers to the alterations that are made to make it suitable.


Open MDI file?

Easy to use image (MDI) converter MDI2PDF can be used to open and convert MDI files in seconds: http://www.bugysoft.com


How do you convert mdi to jpg?

Why not try MDI Converter? With the software you can convert mdi or tiff files to pdf, jpg, and so on. See in http://www.mdiconverter.com


How does Multiple document interface help in visual c plus plus environment?

The obvious answer is that it allows you to view more than one document or type of document at the same time using the same instance of the application. With SDI (single document interface), each document is loaded in a completely separate instance of the application. There are merits to both approaches, but in more recent times applications are more a hybrid of MDI and SDI, allowing individual documents to be completely detached from the MDI main frame. With multi-monitor desktops this becomes extremely useful as the application window no longer needs to be full-screen in order to get the best view of the documents.


How many MDI forms can be created in Visual Basic. Why?

one MDI forms can be created in VB


When was SDI Technologies created?

SDI Technologies was created in 1956.


How many MDI forms in a project?

No,only one MDI form exist in one project.


What does sdi stand for in sdi health's name?

Surveillance Data Inc