RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Software | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

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

  • Menu_Selection
  • Message Codes
  • Wimp_CreateSubMenu
  • Wimp_Poll
Revised on June 28, 2009 13:50:58 by Alan Robertson (52)? (127.0.0.1)
Edit | Back in time (1 revision) | See changes | History | Views: Print | Source | Linked from: Item Flags, Wimp_CreateSubMenu, Message Codes

Search the Wiki

Commercial use

For commercial enquiries, please contact the owners of RISC OS, Castle Technology Ltd.

ROOL Store

The official C/C++ Development kit and more here.

Donate! Why?

Help ROOL make things happen – please consider donating!

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2011 except where indicated
The RISC OS Open Instiki theme is based on Insitki's default layout

Valid XHTML 1.0  |  Valid CSS

Instiki 0.19.1(MML+)
This site runs on Rails

Hosted by Arachsys