Description :
This instruction creates a menu list.
Parameters :
-
Width of the area of the menu list, expressed in pixels.
-
Height of the area of the menu list, expressed in pixels.
-
Name of the procedure managing the events.
-
ALL
RELEASE_BUTTON
PRESS_LEFT_BUTTON
PRESS_RIGHT_BUTTON
RELEASE_LEFT_BUTTON
RELEASE_RIGHT_BUTTON
DOUBLE_CLICK_LEFT_BUTTON
DOUBLE_CLICK_RIGHT_BUTTON
EXIT_ZONE
ENTER_ZONE
RELEASE_BUTTON
Return Handle :
-
ObjectID of the menu list
Notes :
When creating the procedure used to manage events, you must organize its three parameters in the following order: Event ObjectID, Event Status, Item number.
If Flags=ALL, this procedure will be called each time the mouse (or the keyboard) selects a new item within the menu list.
Examples :
|