BBjMDI::createMDIWindow
Description
Creates the BBjMDI window used by the process. The act of creating a BBjMDI window has an effect on the manner in which new SCALLed versions of BBj display. If the program that has created a BBjMDI window makes a call of the form:
X = SCALL("bbj ...<someProgram> ....&)
Any windows created by <someProgram> display within the user area of the BBjMDI window.
Syntax
Return Value |
Method |
---|---|
void |
createMDIWindow(int x, int y, int width, int height, string title) |
void |
createMDIWindow(int x, int y, int width, int height, string title, string flags) |
Parameters
Variable |
Description |
||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
x |
Horizontal position of the upper-left corner of the window in current units. |
||||||||||||||||||||||
y |
Vertical position of the upper-left corner of the window in current units. This value does not take into account the space taken by menus or title bars. If a window is defined with a menu and a title bar and its y parameter is set to zero, the menu and title bar will not be visible when a BBj program displays the window. The y parameter should be adjusted by 20 pixels to account for a menu and 20 pixels for a title bar. For example, if a window has a menu and a title bar and the y parameter is set to 60, the top of the title bar will appear 20 pixels from the top of the screen when a BBj program displays the window. |
||||||||||||||||||||||
width |
Width of the window in current units. |
||||||||||||||||||||||
height |
Height of the window in current units. |
||||||||||||||||||||||
title |
The title of the new window. This is the initial title and can be changed at any time with the TITLE Mnemonic - Set Window Title. |
||||||||||||||||||||||
flags |
If the flags parameter is omitted, a default
value of $0000000f$ is used.
|
Return Value
None.
Remarks
None.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.