DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2104
Version: 1.3-current


I poked at this a bit.

Seems the crux of it is Fl::paste()'s call to GetClipboardData() is
returning NULL.

Should be a simple matter of looking at GetLastError() to see what the
problem is, but unfortunately the error number is always f...@#ing zero.
Anyone have the source code to GetClipboardData() so we can debug that
problem? ;)

Another issue, I poked around in the Fl::copy() function, I decided to
check the return value of all the clipboard functions just to see what
they were; seems SetClipboardData() is returning NULL, indicating a
failure (and of course GetLastError() is returning zero, so no help
there). But since pasting works into other windows, it must be working to
some extent.

I'm not sure how to trace further, as the Microsoft functions don't seem
to be returning any useful error information. But the Microsoft clipboard
functions /seem/ to be the issue here.


Link: http://www.fltk.org/str.php?L2104
Version: 1.3-current

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to