On Mar 23, 2007 2:39 PM, Marc Triola wrote:
> Greetings,
>   I am using 2007R1 and have a very simple scenario:
>
> Dim picturebuffer as picture
> pictureBuffer=NewPicture(canvas1.graphics.width,canvas1.graphics.height,32)
>
> ...some code that draws graphics to picturebuffer...
>
>  Dim c as New Clipboard
>  c.Picture=picturebuffer
>  c.Close
>
> This successfully copies the image to the clipboard on OSX but appears
> to do nothing on Windows.  I see previous emails and bug reports that
> say this issue is resolved and that this should work.  What am I
> missing here?

On Windows try to empty/clear the clipboard before copying images. Check this
thread on the forums - I posted an EmptyClipboard function using the Win32
Clipboard API:
http://forums.realsoftware.com/viewtopic.php?t=7345

The WFS has also an EmptyClipboard function:
<http://www.aaronballman.com/programming/REALbasic/Win32FunctionalitySuite.php>

There's also a feature request for an empty/clear the clipboard method:
http://support.realsoftware.com/feedback/pgnmpvst

Carlos

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to