🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #2901

Rich Edit Cut/Paste While Selecting...

#2901
From: Art Pollard
Date: Wed, 05 Aug 1998 00:00
32 lines
2055 bytes
Hi.

I have an application which I am working on which views large amounts of
data.  Since the amount of time it takes to load the entire dataset into a
RichEdit component is unreasonable (and not practical), I have written a
number of routines which cut and paste the text just outside of the user's
view.  (Thus, internally the text is viewed as a series of pieces though
to the user it looks like one big contigous piece of text.)  This seems to
work quite well.

However, when the user wants to select a passage of text, this becomes
much more complicated as the user then has control over the beginning and
ending positions of the selection.  (Which is what I've been using to
insert the text.)

Does anyone have any ideas on how I might allow a user to select text
while I am cutting and pasting text into the Rich Edit just outside their
view?  (BTW: I am using C++ Builder though I am not afraid to get ugly
with WinAPI stuff if I have to.)

Any help would be greatly appreciated.

Thanks,

-Art


-- 
Art Pollard <PollardA@Hawaii.edu>
Moderator for Comp.Theory.Info-Retrieval
List Maintainer for the Hyper-Theory (Hypertext Theory) mailing list.
Technical Details
Message-ID: <6qapb9$283@news.Hawaii.Edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1118e6,77c681498f67b7aa,start
X-Google-Attributes: gid1118e6,public
X-Google-Thread: 105df1,77c681498f67b7aa,start
X-Google-Attributes: gid105df1,public
X-Google-Thread: f7033,77c681498f67b7aa,start
X-Google-Attributes: gidf7033,public
X-Google-Thread: f5ca7,77c681498f67b7aa,start
X-Google-Attributes: gidf5ca7,public
X-Google-Thread: 113dfb,77c681498f67b7aa,start
X-Google-Attributes: gid113dfb,public
From: pollarda@Hawaii.Edu (Art Pollard)
Subject: Rich Edit Cut/Paste While Selecting...
Date: 1998/08/05
Message-ID: <6qapb9$283@news.Hawaii.Edu>
X-Deja-AN: 378340967
Organization: University of Hawaii
Newsgroups: comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.controls,comp.os.ms-windows.programmer.win32,borland.public.cppbuilder.vcl,borland.public.cppbuilder.winapi