MRWE
                  Absoft's Graphical Application Framework


                      Automatically Build Graphical Program Interfaces for Windows & MacOS

Absoft's MRWE solves the problem of how to automatically create a graphical interface for your Fortran application on Windows or MacOS.

No need to learn the system APIs. Usually, when you want to create applications with windows and menus, you need to know how to use the system APIs and interface guidelines. However, MRWE, a library included FREE with Pro Fortran for Windows and MacOS can automatically give your program a native Windows or Mac style interface with menus, a text window, and a graphics window. MRWE allows you to create applications with windows and menus, without knowledge of the system API and user interface guidelines.

MRWE is a collection of pre-compiled Fortran routines that you can link with your program. All that is required to create MRWE applications is to select the MRWE option from the compile time dialog box on the Absoft Developer Tools Interface. Selecting MRWE will cause your program to be built as a stand-alone, double-clickable application with MRWE providing a window and menus interface. If your Fortran code includes its own system API calls, you can disable MRWE and create an executable file.

Complete source code for MRWE is included with Absoft compilers as an example of how to properly call the system API on Windows or MacOS. The source can also be modified to suit your needs if desired.



Working with MRWE:

How Your Program and MRWE Work Together


Easy to Use:


Standard input and output directed to the MRWE window are preconnected to the FORTRAN I/O units 5, 6, 9 and *. Any of these except * may be connected instead to anactual file by specifying the unit in an OPEN statement. After closing the file on that unit, the unit will be reconnected to standard input and output.

Additional MRWE text windows files may be opened and connected to Fortran units with extensions to the OPEN statement.


Working With Text in MRWE


Text:

An MRWE application is an MDI (Multiple Document Interface) type of application. This means that there is application frame window that can support multiple document windows within that frame. MRWE currently supports two document window types—text and graphics. The application frame window that appears is named after the FORTRAN application. The default text window connected to standard input and output is initially titled Input/Output, but changes when the text is saved to a file.

Additional text windows can be created with the Fortran OPEN statement. An MRWE window has a text limit of 262144 characters in 32768 lines, but this can be modified. Instructions and information on using MRWE are included in the compiler documentation.


Working with Graphics in MRWE


Graphics:

By default, the graphics window is not displayed when an MRWE application begins. You must explicitly open the graphics window by referencing the mrwe_Opengraphics function when you wish to use it. The argument list for the mrwe_Opengraphics function is provided in the compiler documentation.

Adding Menu Commands to MRWE

Adding Commands:

MRWE provides a number of functions for adding menu commands, providing routines that respond to user menu selections, and modifying menu items. New menus and menu commands are added to the MRWE default menu. Full description of these functions are provided in the compiler documentation.




MRWE Screenshots



Click Image to See Larger View of MRWE Options Window


Contact | Newsletter | Career | Legal | Terms of Use | Privacy | Buy | Support | Downloads | Site Map | Home

© 1996-2007 Absoft  Corporation 2781 Bond Street Rochester Hills Michigan 48309  
 Voice: 248-853-0050   Fax: 248-853-0108