Using the MDI Device
To use the MDI device, a program should retrieve the MDI device and create an MDI window with code similar to the following:
MDI! = BBjAPI().getMDI()
mdi!.createMDIWindow(50, 50, 800, 600, "MDI Window")
After creating the MDI window, all subsequent SCALLed programs will display their windows within the MDI master window.