Special

Clearance Sale!

We've been publishing for over five years now and it's time to clear out our inventory of back issues, so we're slashing prices!

RBD Magazines

Check out this amazing clearance sale of all our past issues. Missing some issues? This is a great time to complete your RBD collection. Save up to 40% off the regular price of our printed back issue packages. These prices are only good until the end of the year May 2008 and supplies are limited, so place your order today.

Article Preview


Buy Now

Print:
PDF:

Intel corner

MDI

What is the Windows Multiple Document Interface?

Issue: 5.5 (July/August 2007)
Author: Christian Schmitz
Article Description: No description available.
Article Length (in bytes): 3,435
Starting Page Number: 44
RBD Number: 5516
Resource File(s): None
Related Link(s): None
Known Limitations: None

Excerpt of article text...

REALbasic has some options you never see when you walk around all the options in a project. There is a MDI checkbox in the application subclass but most developers do not know exactly what it does. MDI is the shortcut for "Multiple Document Interface."

An application on Mac OS X is actually always an MDI. You can open several documents, each in its own window. A central menubar will show the window for the current window.

On Windows you can have an application (non-MDI) which has a window and attached to this window a menubar. If you open several windows you can have several menubars. Each window has a property named menubar where you can assign the menubar to be used for this window. On Linux it is the same.

If this kind of application has a DocumentWindow and needs to open several documents it will open several windows and each window has its own menubar.

An MDI application will open one big window with the menubar. This window is called the MDIWindow and you can assign a caption for the window title bar in the application properties (app.MDICaption). Inside this MDI window the normal REALbasic windows appear as child windows. They can't be moved outside the parent window which is one of the disadvantages. So like on a Mac you can have a central menubar on Windows by using MDI.

...End of Excerpt. Please purchase the magazine to read the full article.

Article copyrighted by REALbasic Developer magazine. All rights reserved.


 


|

 


Weblog Commenting and Trackback by HaloScan.com