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_DataSaved

Programmer's Reference Manuals
» Part 7 - The Desktop
» The Window Manager
» Messages
» Message Codes
» Message_DataSaved

Message_DataSaved

(Code &D)

Use

This message is sent back to the originator of a saved file if at some later time it becomes ‘safe’ (i.e. on disc).

Notes

You should compare the ‘your_ref’ in this message with the ‘my_ref’ stored when the original Message_DataSave message was sent. If the messages are the same then the file can be marked as safe, unless the user has edited it in the meantime.

Probably the best implementation is for your program to store the ‘my_ref’ with the file, but zero it on any modification, as 0 will not be a valid ‘your_ref’.

It appears that this message is designed for cases where one program saves a file to another program, and then that second program saves the unmodified file to disc.

See also

  • Message Codes
  • Message_DataSave
  • Message_RAMFetch
  • Wimp_Poll
  • Wimp_SendMessage
Created on July 3, 2009 20:23:18 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: Message Codes, Message_DataSave

Search the Wiki

Social

Follow us on and

Commercial use

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

ROOL Store

Buy RISC OS Open merchandise here, including SD cards for Raspberry Pi and more.

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