answersLogoWhite

0


Best Answer

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).

User Avatar

Wiki User

โˆ™ 12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

โˆ™ 7y ago

MDI, refers to Multiple Document Interface; which means that you can have one main window programming application; which can also be used as a container for opening/and, closing other related sub-windows.

SDI, refers to Single Document Interface; which means that the entire program is written to work/operate inside of only one single window, alone.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is difference between SDI and MDI?
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.


How MDI from is different from SDI?

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.


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.


Whats the difference between a golf TDI and golf SDI?

TDI is a Turbocharged Direct Injection (ie. with a turbo) AND SDI is Suction Diesel Injection (ie. No Turbo) Daithi


How MDI from is different from SDI?

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.


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.


What is the difference between ASI and SDI in Video?

In digital video broadcast (DVB), SDI is Serial Digital Interface an uncompressed form of A/V signal and ASI is Asynchronous Serial Interface an compressed form of A/V signal. The SDI signal hold the pids(audio, video, subtitle ...) of one channel, ASI can hold pids from multiple channels and in some cases (satelite uplink) some pids who describe the transponder(NIT, TID...)


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.