Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
Back to article list Search Articles Add Comment Printer friendly Direct link Windows API: Saving RTF data to text 2004-03-16 -- Jim Kane Newsgroups: softvelocity.public.clarion6
> I need to copy the contents of a RTF field (STRING 1024) to non-RTF field (STRING 1024).
>
> Is any way how to easy remove the RTF attributes from the string field and copy
> only the text?
The easiest way is to load the rtf into an rtf control and save it as text or call the win32 api
getwindowtext() and getwindowtextlength() after the rtf is loaded into the control.
jim kane
Today is November 21, 2024, 7:10 am This article has been viewed 35301 times. Google search has resulted in 15 hits on this article since January 25, 2004.
|
|