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

User_Message

Programmer's Reference Manuals
» Part 7 - The Desktop
» The Window Manager
» SWI Calls
» Wimp_Poll
» Reason Codes
» User_Message

User_Message

(Reason Code 17)
Exit
Block
+0 Length of block
+4 Handle of sender
+8 My ref (senders reference number for this message)
+12 0
+16 Message Code
+20 … data…

Use

This code is returned from Wimp_Poll and indicates that another task has broadcast a message to any of the following:

  1. this specific task
  2. a specific window belonging to this task
  3. to all tasks

Notes

The message code determines the meaning of the message sent.

No acknowledgement of receiving this message is required by the message sender.

The number of message codes is very large, and not every code needs to be supported, however, every task must take action when receiving Message_Quit. This code is broadcast when a task is asked to quit via the Task Display window (via Task Manager).

A task that does not understand a message code should simply ignore it. Tasks should not respond to messages for no reason.

See also

  • Message Codes
  • Message_Quit
  • Reason Codes
  • User_Message_Acknowledge
  • User_Message_Recorded
  • Wimp_Poll
Revised on June 9, 2009 20:55:30 by Alan Robertson (52)? (127.0.0.1)
Edit | Back in time (2 revisions) | See changes | History | Views: Print | Source | Linked from: Poll Mask, User_Message_Recorded, User_Message_Acknowledge, Wimp_SendMessage, Message_RAMTransmit, Reason 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