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_DataSave

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

Message_DataSave

(Code &1)
Message Block
+20 Destination window handle
+24 Destination icon handle
+28 Destination screen x
+32 Destination screen y
+36 Estimated size
+40 Filetype of data (&1000 for directory, &2000 for application, -1 for untyped)
+44 Proposed leafname (zero terminated)

Use

This message is used to indicate that a task wants to save data to receiver.

Notes

If this message is ignored by the receiver, then the task originator should do nothing.

An application that receives this message should store the ‘my_ref’ of each DataSave message, to check against any future Message_DataSaved message you might receive.

Normal use:

  • User has terminated a drag
  • Get the first four words with Wimp_GetPointerInfo
  • Send the message to mentioned window

Possible use:

  • Task sends Message_DataSaveAck (wishes to use file transfer)
  • Task sends Message_RamFetch? (wishes to use memory transfer)
  • Task does not reply (not interested in files of a specific filetype)

See also

  • Message Codes
  • Message_DataSaved
  • Message_RamFetch?
  • Wimp_GetPointerInfo
  • Wimp_Poll
Created on June 28, 2009 20:33:08 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: Message_DataRequest, Message Codes, Message_DataSaveAck, Message_RAMFetch, Message_DataSaved, TaskWindow_Input

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