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_DataSaveAck

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

Message_DataSaveAck

(Code &2)
Message Block
+20 Destination window handle
+24 Destination icon handle
+28 Destination screen x
+32 Destination screen y
+36 Estimated size, or -1 if unsafe
+40 Filetype of data
+44 Full leafname, or "<Wimp$Scrap>"

Use

This message is used to reply to a Message_DataSave message to indicate that the receiver should save their data to the specified file.

Notes

Words at 20 to 32 are preserved from the original message.

When the filer replies using this message, it replaces the leafname from the DataSave message with the full pathname of the file, and leaves the word at 36 as the estimated file size.

Normal action on receiving a DataSave message:

  • Alter the pathname to "<Wimp$Scrap>"
  • Set the word at 36 to -1, to indicate that the file will be temporary
  • Send this message in reply

Possible responses from other task:

  • Task sends Message_DataLoad message (data written to a specified file)
  • Task does not reply (error saving data / not listening)

See also

  • Message Codes
  • Message_DataLoad
  • Message_DataSave
  • Wimp_Poll
Created on June 28, 2009 20:35:48 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: Message Codes, Message_DataSave, Message_DataLoad, Message_DataLoadAck, Message_RAMFetch

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