RISC OS Open

RISC OS  OPEN


A fast and easily customised operating system for devices using ARM processor cores.

Documentation: Message_DataRequest (Version #1)

Programmer’s Reference Manuals
» Part 7 – The Desktop
» The Window Manager
» Messages
» Message Codes
» Message_DataRequest

Message_DataRequest

(Code &10)

Message Block
+20 Window handle
+24 Internal handle
+28 X
+32 Y
+36 4 (send clipboard)
+40 List of filetypes in order of preference (terminated by -1)

Use

This message is broadcast by a task who wants to paste the contents of the clipboard into its own document

Notes

When the owner of the clipboard receives this message, it should choose the earliest filetype in the list that it can provide (or use native format if none) and reply with a Message_DataSave message.

When the recipient receives the clipboard data, it should check the filetype and just ignore the message if it cannot handle it.

The recipient should ignore this message if bit 2 isn’t set.

See also

   .