From: Johan L. <jo...@ba...> - 2002-02-24 14:47:59
|
At 12:57 2002-02-23 -0500, Ultimate Red Dragon wrote: >Has anyone written/know how it could easily be done, a WYSIWYG HTML editor >using a RichEdit field? > >It doesn't need to do much, just links, bold, italics, underline. RichEdit accepts RTF (Rich Text Format), så an HTML 2 RTF converter should do the trick. If all you need is simple formatting, maybe Word or even WordPad[1] (comes with Windows) is enough for your needs. Please let us know if you find a good solution (Perl or non-Perl). /J [1] Create an empty file mytemp.rtf, then launch WordPad like this: "write mytemp.rtf" Then, maybe you can check when there is no longer a window with the title "mytemp.rtf - WordPad" and that's when the user has finished editing the file. Or something... I think it talks DDE and OLE as well, that might be a much cleaner solution. /J -------- ------ ---- --- -- -- -- - - - - - Johan Lindström Sourcerer @ Boss Casinos jo...@ba... Latest bookmark: "IPC-LDT" http://search.cpan.org/search?dist=IPC-LDT |