RISC OS Open

RISC OS  OPEN


A fast and easily customised operating system for devices using ARM processor cores.

Documentation: Message_MenuWarning

Programmer’s Reference Manuals
» Part 7 – The Desktop
» The Window Manager
» Messages
» Message Codes
» Message_MenuWarning

Message_MenuWarning

(Code &400C0)

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)

Use

This message is received when the mouse pointer moves over the sub-menu arrow in a menu entry with the ‘generate message’ bit set.

Notes

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.

See also

   .