Actually after a few days of experimenting I am finding that the
suggestion from Aaron below did not work. Instead it turns out you have
to pass in the pretty name string of the clipboard format (e.g. "Adobe
Illustrator PDF") that you retrieve with the GetClipboardFormatNameA
call to the Win32 API when you pass in the integer. I think that should
be documented somehow. (Or maybe somebody can help add this clipbaord
stuff to Aaron's Win Functionality suite)
There are no pretty names that I can see for the basic first 17 formats
such as TIFF, WAV etc. so there I do not think we can retrieve the data
using Realbasic, or is there another way for those?
Thanks for all the help so far,
+ German
On Oct 28, 2004, at 9:20 PM, Aaron Ballman wrote:
For example the Illustrator format AICB on Mac is the rough
equivalent something like the number 49337 on Win32.
So again how do I tell the RB clipboard object to retrieve the data
in that Illustrator format?
Have you tried doing this?
dim mb as new MemoryBlock( 4 )
mb.Long( 0 ) = 49337
and then pass in mb.StringValue( 0, 4 ) to the clipboard call?
~Aaron
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|