🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Does RichEdit library 3.0 support EM_TEXTFIND?

#8952
From: Hern�n Tornielli
Date: Fri, 20 Aug 2004 19:26
11 lines
1265 bytes
"Gary Setter" wrote:

> 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.

Look at EM_FINDTEXT and EM_FINDTEXTEX. I'm using the later
with RICHED20.DLL and it works fine.

Hernan Tornielli
Technical Details
Message-ID: <41264fec@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.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
References: <41262b90$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,cff09c35d982d551
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Hern�n Tornielli" <hernan@nospam.net>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <41262b90$1@newsgroups.borland.com>
Subject: Re: Does RichEdit library 3.0 support EM_TEXTFIND?
Date: Fri, 20 Aug 2004 16:26:34 -0300
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 200.59.52.215
Message-ID: <41264fec@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1093029868 200.59.52.215 (20 Aug 2004 12:24:28 -0700)
Path: arc1-ca.pugleaf.net!g2news1.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