🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #8684

Get text from a richedit in another program?

#8684
From: 187
Date: Sun, 26 Sep 2004 20:22
10 lines
1304 bytes
Hello. I've written little programs before in BCB5 using FindWindow and
such to get text from a single line textbox, but how would one go about
get lines from a multiline textbox, like a memo, and also how would one
get it from a Richedit, mainly how to grab not jsut the text but the
styles too (color, font, bold, italic, etc). Or if the text was grabbed
would the text be like an RTF file opened in notepad (all the style
codings), which would be properly interpreted in a TRichEdit?

Thank sfor any help, I have bene searching for soem time without much
luck, so I'm asking for help here :)
Technical Details
Message-ID: <2romm9F1capsuU1@uni-berlin.de>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,e07ea0511ae7ecb0,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!not-for-mail
From: "187" <bigal187@invalid.rx.eastcoasttfc.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Get text from a richedit in another program?
Date: Sun, 26 Sep 2004 13:22:13 -0700
Lines: 12
Message-ID: <2romm9F1capsuU1@uni-berlin.de>
X-Trace: news.uni-berlin.de sijiTUDfEWABKehoRaPWfgKhsrG5I5XqXSyW6getPqCpnyk70r
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409