CALL "W$MENU" USING WMENU-NEW-POPUP [scrollItems] [fixedTopItems] [fixedBottomItems] [scrollingInterval] GIVING menuHandle |
WMENU-NEW-POPUP | Constant | |
scrollItems | PIC 9(n) | Specifies the number of items in the middle with up/down arrows to scroll. If omitted, the scroll feature will not be available. |
fixedTopItems | PIC 9(n) | Specifies the number of items at the top that must be always visible. If omitted, 0 is assumed. |
fixedBottomItems | PIC 9(n) | Specifies the number of items at the bottom that must be always visible. If omitted, 0 is assumed. |
scrollingInterval | PIC 9(n) | Specifies the number of milliseconds used to scroll items. If omitted, the system default is used. |
<=0 | Operation failed. |
>0 | Receives the handle to the newly created menu. |