SDI, MDI, and Menus

At the beginning of this chapter, we discussed some issues regarding menus and SDI applications and MDI applications. Now that you have read through this chapter, let's revisit this a little bit. First if you are planning on developing an SDI application, the menu support is quite straightforward. Just create a menu and set the main form's menu property to this menu.

If you are planning on creating an MDI application, you will mostly likely use the default MDI menu behavior. The MDI container form has its own menu (which is the main menu for the application). Each MDI child form that is created has its menu appended to the main menu automatically. As you open each child form you can see the additional menu items added to the ...

Get Visual Basic® .NET by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.