CALL "W$MENU" USING WMENU-ADD-BITMAP menuHandle ID bitmapHandle [bitmapNumber] [bitmapSize] GIVING returnCode |
WMENU-ADD-BITMAP | Constant | |
menuHandle | USAGE HANDLE | Specifies the handle of an existing menu. |
ID | any numeric data item or numeric literal | Specifies the menu entry you want to add a bitmap. |
bitmapHandle | USAGE HANDLE | Specifies the handle of a bitmap or a bitmap strip (see W$BITMAP). |
bitmapNumber | any numeric data item or numeric literal | Specifies the ordinal position of the bitmap in the bitmap strip. If the bitmap handle does not reference a bitmap strip this parameter is optional. |
bitmapSize | any numeric data item or numeric literal | Specifies the size of each bitmap in the bitmap strip. |
<=0 | Operation failed. |
>0 | Operation successful. |