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

PDF:

Intel corner

Windows Specialties

Some special things to notice for Windows

Issue: 1.3 (December/January 2002)
Author: Christian Schmitz, cSchmitz-at-rbdeveloper.com
Author Bio: Christian Schmitz has written several articles for the German magazine Macwelt and has designed many cross platform applications using REALbasic.
Article Description: No description available.
Article Length (in bytes): 4,165
Starting Page Number: 37
RBD Number: 1319
Resource File(s): None
Related Link(s): None
Known Limitations: None

Excerpt of article text...

MDI or SDI?

On Windows your application can be one with a single document interface (SDI) or one with a multiple document interface (MDI). In REALbasic you can decide which one you want. SDI means that you have one window (the default window in the project) with the menu bar. If this window is closed your menu bar is gone. Examples for SDI applications on Windows are Notepad, Write, Paintbrush and the game Solitaire. MDI applications have like all Windows applications a menu bar at the top of each window. And, because windows doesn't have a central menu bar on the top of the screen, there is a large parent window for your application's menu bar that contains all your application's document windows (or child windows). Dialogs and floating windows can go outside this parent window.

Most users only use one application at a time and to avoid a lot of scrolling it's common to set the MDI Window to use the entire screen so the menu bar is at the top of the screen like on a Mac. In REALbasic 4.0 or later, this can be done by using the maximize command of the MDIWindow object inside the Application class. And to avoid problems you should use this command only in one place: The Application's Open Event, because only there do you have a chance to change this window before the user sees it:

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