AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
20     destination     window handle
24                icon handle
28                screenx
32                screeny
36     estimated size
40     filetype of data
     &1000 for directory, &2000 for application, -1 for untyped.
44     proposed leafname, 0-terminated

This indicates that the sender wants to save data to the receiver. Conventionally, if this message is ignored, then the sender gives up silently.

You should store the my_ref of each data save message, to check against any future 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 responses from other task:
·     It sends DataSaveAck (wishes to use file transfer)
·     It sends RamFetch (wishes to use memory transfer)
·     It doesn't reply (not interested in files of that type)

See PRM 3, page 252.

[sh-index] Back to list of manuals