copy/paste HTML text in Windows

Hi,

I think this might be of interest for Amaya developers.
I'm working in an VB application that sets text into the Windows 
"clipboard". So I got in touch with the documentation on how to set HTML 
text in the (Windows) clipboard. It's in:
How To Add HTML Code to the Clipboard by Using Visual C++:
http://support.microsoft.com/kb/q274308/

To make a quick test on how this works open Mozilla or MSIE, select part 
of a page with format (lists, tables, ...) and then paste it into MS 
Word or OpenOffice text editor. The format survives the cut & paste cycle.

Should Amaya set this format (CF_HTML) in the clipboard, aditionally to 
the other formats it sets, then it's interoperability would be enhanced 
by letting copy and paste from main browsers into Amaya's browse view 
without needing to resort to an HTML source view neither in Amaya nor in 
the other program.
Setting an aditional clipboard format has no impact on existing 
functionallity.
--
Juan Lanus
TECNOSOL
Argentina

Received on Saturday, 23 October 2004 18:29:04 UTC