🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Does RichEdit library 3.0 support EM_TEXTFIND?

#8954
From: Gary Setter
Date: Fri, 20 Aug 2004 22:58
14 lines
1497 bytes
<snip>
> Look at EM_FINDTEXT and EM_FINDTEXTEX. I'm using the later
> with RICHED20.DLL and it works fine.

Hi Hernan,

Thanks for the reply. After I posted, I did some more searching. There was a
change in the default behavior of that function. Before, SendMessage(hWnd,
EM_FINDTEXTEX, 0, &ft) would search down. Now you need to send
SendMessage(hWnd,  EM_FINDTEXTEX, FR_DOWN, &ft) to get the same behavior.

Alls well that ends well.
Gary
Technical Details
Message-ID: <412681a5@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!border1.nntp.dca.giganews.com!nntp.giganews.com!peer01.cox.net!cox.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <41262b90$1@newsgroups.borland.com> <41264fec@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: "Gary Setter" <setterg@worldnet.att.net>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <41262b90$1@newsgroups.borland.com> <41264fec@newsgroups.borland.com>
Subject: Re: Does RichEdit library 3.0 support EM_TEXTFIND?
Date: Fri, 20 Aug 2004 17:58:07 -0500
Lines: 15
MIME-Version: 1.0
Content-Type: text/plain;
 charset="iso-8859-1"
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.149
Message-ID: <412681a5@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1093042597 12.74.20.149 (20 Aug 2004 15:56:37 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!border1.nntp.dca.giganews.com!nntp.giganews.com!peer01.cox.net!cox.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail