Note: This is an archived post that was originally sent to the Hollywood mailing list on Sat, 08 May 2010 19:45:12 -0000
After calling ClearClipboard(), PeekClipboard() and GetClipboard() return #CLIPBOARD_TEXT (as type) and GetClipboard() also returns " " (as data).
Shouldn't #CLIPBOARD_EMPTY be returned after using ClearClipboard()?
[08 May 2010] Bug in ClearClipboard()?
- airsoftsoftwair
- Posts: 5830
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
[10 May 2010] Re: Bug in ClearClipboard()?
Note: This is an archived post that was originally sent to the Hollywood mailing list on Mon, 10 May 2010 11:11:51 +0200
The problem is that AmigaOS' API doesn't provide a clearing functionality for the clipboard. As a workaround, Hollywood simply puts an empty text string into it.After calling ClearClipboard(), PeekClipboard() and GetClipboard() return #CLIPBOARD_TEXT (as type) and GetClipboard() also returns " " (as data).
Shouldn't #CLIPBOARD_EMPTY be returned after using ClearClipboard()?
[10 May 2010] Re: Bug in ClearClipboard()?
Note: This is an archived post that was originally sent to the Hollywood mailing list on Mon, 10 May 2010 14:18:01 -0000
Thanks for the explanation. Though the text string that Hollywood puts in the clipboard (to empty it) is not completely empty (there is a space)---it inserts " " instead of "" (Nil).
Thanks for the explanation. Though the text string that Hollywood puts in the clipboard (to empty it) is not completely empty (there is a space)---it inserts " " instead of "" (Nil).