🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Handling EM_SCROLL

#16607
From: Remy Lebeau (TeamB)
Date: Fri, 09 May 2003 06:36
16 lines
1706 bytes
"Paul Edwards" <noone@nowhere.net> wrote in message
news:3ebae48a$1@newsgroups.borland.com...

> I have an application where I ned to handle the
> EM_SCROLL message in a Rich edit

Handle the CN_NOTIFY message instead.  It is a copy of the WM_NOTIFY message
that is sent to the RichEdit's parent window.  Test the NMHDR's code member
for the EN_HSCROLL and EN_VSCROLL notifications instead.  You'll have to
first send the RichEdit an EM_SETEVENTMASK message with the EN_SCROLL mask
to enable the notifications.  Also have a look at the ENM_KEYEVENTS mask as
well to enable the EN_MSGFILTER notification.


Gambit
Technical Details
Message-ID: <3ebb4c1b$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed00.sul.t-online.de!t-online.de!skynet.be!skynet.be!newsfeed.news2me.com!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3ebae48a$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,ea75575825b6ad93
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-05-09 00:53:55 PST
From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3ebae48a$1@newsgroups.borland.com>
Subject: Re: Handling EM_SCROLL
Date: Thu, 8 May 2003 23:36:54 -0700
Lines: 18
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: 207.175.226.26
Message-ID: <3ebb4c1b$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1052462107 207.175.226.26 (8 May 2003 23:35:07 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed00.sul.t-online.de!t-online.de!skynet.be!skynet.be!newsfeed.news2me.com!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail