CALL "W$MENU" USING WMENU-CHANGE-BITMAP menuHandle ID bitmapHandle [bitmapNumber] [bitmapSize] GIVING returnCode |
WMENU-CHANGE-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 change a bitmap. |
bitmapHandle | USAGE HANDLE | It specifies an 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 this parameter is omitted, the first bitmap is used. |
bitmapSize | any numeric data item or numeric literal | Specifies the size of each bitmap in the bitmap strip. |
<=0 | Operation failed. |
>0 | Operation successful. |