Login
`
Templates, Tools and Utilities
|
||
Icetips Article
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 December 4, 2024, 2:28 am This article has been viewed 35312 times. Google search has resulted in 15 hits on this article since January 25, 2004.
|
|