🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Does RichEdit library 3.0 support EM_TEXTFIND?

#8950
From: Gary Setter
Date: Fri, 20 Aug 2004 16:49
17 lines
1534 bytes
Hi,

I made an application with a rich edit view. I loaded RICHED20.DLL, which is
at version 3.0. I implemented the find command with SendMessage(hWnd,
EM_TEXTFIND,0,&ft)

This was consistently returning -1, indicating text not found.

I googled for EM_TEXTFIND and found a few posts that complained of the same
thing and it worked when the RichEdit library was version 1.0. I tried the
older version and that version supports EM_TEXTFIND just fine.

Is there another version of the RichEdit library above version 3.0 that does
support EM_TEXTFIND?

Thanks,
Gary
Technical Details
Message-ID: <41262b90$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!news.zanker.org!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,cff09c35d982d551,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Gary Setter" <setterg@worldnet.att.net>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Does RichEdit library 3.0 support EM_TEXTFIND?
Date: Fri, 20 Aug 2004 11:49:44 -0500
Lines: 18
MIME-Version: 1.0
Content-Type: text/plain;
 charset="Windows-1252"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 12.74.20.167
Message-ID: <41262b90$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1093020560 12.74.20.167 (20 Aug 2004 09:49:20 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!news.zanker.org!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail