skip to main content

Library Routines : W$MENU : WMENU-NEW-TRAY

WMENU-NEW-TRAY
The WMENU-NEW-TRAY function creates a new empty menu for they system tray.
The menu is shown when you right click on the tray icon. Clicking with the left mouse button, instead, produces an exception that can be intercepted by the program in the CRT STATUS, same as clicking on the menu items.
Syntax:
 CALL "W$MENU" USING WMENU-NEW-TRAY
Parameters:
It specifies which bitmap (among the ones in the bitmap strip referenced by bitmap-Handle) is to be displayed in the item identified by the Item property.
This property identifies the width in pixels of the image displayed as tray icon. The bitmap strip identified by the bitmapHandle property is divided into several smaller images. The width of each image is the value assigned to this property.
Return code:
menuHandle must be an USAGE HANDLE data item and provides additional information:

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left