Showing changes from revision #2 to #3:
Added | Removed | Changed
Message Block | |
---|---|
+20 | ‘Sub-menu pointer’ from menu item |
+24 | X co-ordinate of top left new sub-menu |
+28 | Y co-ordinate of top left new sub-menu |
+32 | Selection list (same as Menu_Selection) |
This message is received when the mouse pointer moves over the sub-menu arrow in a menu entry with the ‘generate message’ bit set.
To determine which window or menu to open using Wimp_CreateSubMenu, the ‘sub-menu pointer’ and/or the selection list can be used.
The sub-menu that an application opens does not have to be the one passed via +20. However, if you wish the sub-menu to be re-opened when the Wimp recreates the menu the new handle should be stored at +20.