Menu items can be assigned to the CALL dialog command on the ACTION attribute of the menu item (MENUI) tag. When the menu item is selected, the UIM calls the specified program.
The CALL dialog command is assigned to a menu item to process requests that are specific to the application. These requests either do not have a command interface or require more knowledge about the current application than can normally be passed through a command.
The application can perform most functions, but the application developer must be aware of the effects of changing dialog variables, displaying other panels, and so on.
QSYSINC Member Name: EUIMICL
The interface level supported by this structure, indicating which fields and values are available.
Set to the following value:
2 | Processes a menu item. |
The application handle of the application currently being processed by the UIM.
The name of the panel currently being processed by the UIM.
The option number of the menu item selected by the user.
The description of parameters listed in the following table is the same as the corresponding field in the structure for a single parameter interface. The positions listed for each field in the structure do not apply to the multiple parameter interface.
1 | Type of call | Input | Binary(4) |
2 | Application handle | Input | Char(8) |
3 | Panel name | Input | Char(10) |
4 | Menu option | Input | Binary(4) |
Top | User Interface Manager (UIM) APIs | APIs by category |