0% found this document useful (0 votes)
1K views4 pages

Question # 1: What Is The Difference Between MDI and SDI. Explain With The Help of Example

SDI applications can only work with one document at a time, requiring opening another instance of the application to view another document. MDI applications allow viewing and editing multiple documents simultaneously without opening new instances of the application. Examples of SDI applications are Notepad and Wordpad, while Visual Studio and other code editors are MDI applications that enable viewing multiple files at once.

Uploaded by

sameer khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1K views4 pages

Question # 1: What Is The Difference Between MDI and SDI. Explain With The Help of Example

SDI applications can only work with one document at a time, requiring opening another instance of the application to view another document. MDI applications allow viewing and editing multiple documents simultaneously without opening new instances of the application. Examples of SDI applications are Notepad and Wordpad, while Visual Studio and other code editors are MDI applications that enable viewing multiple files at once.

Uploaded by

sameer khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Question # 1: What is the difference between MDI and SDI. Explain with the help of example.

Single Document Interfaing (SDI)

This type of application can deal with a single document and single view of the document at one
point of time. There is no way to open another document in the same application. Only way to
open another document is to launch another instance of the application and open the anothe
document. Notepad, Wordpad are such application in Windows.

Multiple Document Interfae (MDI)

This type of application can deal with multiple documents and views of the documents at one
point of time. Thus many documents can be opened and can be edited at any point of time. There
is no need to open new application instance to open a new document. Visual Studio/Visual C++
editor and many other source code editors are good example of this MDI design.

You have viewed 1 page out of 109.


Your VC++ learning is 0.00%
complete. Login to check your
learning progress.

Question # 2: Create a project of


Employee (Eid, Ename, ESalary,
EDesignation, DOB, EJoingDate)
(a) Create Two from in a single project, DisplayEmployeeForm, AddEmployeeForm
(b) Display Employee Data on DisplayEmployeeForm
(c) Add new Employee data on AddEmployeeForm

You might also like