TListView: Catching Scroll Event

From: Chris McClenny (cmcclenny_at_att.net)
Date: 01/29/05


Date: Fri, 28 Jan 2005 17:07:21 -0600

Hello all,
   Here is my problem. I have a TListView component with
2 columns. Column 1 is an image. Column 2 is an embeded
RichEdit Control. The image in column 1 raises the row
height to 63 pixels. I did this because the
TListView will not wrap text with the vsReport style.
Also, I need RichEdit control style functionality in the
subitem. So I position the RichEdit control to use the
whole SubItem area. 1 row looks like the following....

---------------------------------------------
| ---------- | ------------------------- |
| | | | | | |
| | PICTURE | | | RichEdit Control | |
| |__________| | |_________________________| |
---------------------------------------------

The RichEdit control is created in code of course.

My question is this... When the TListView is scrolled,
how can I tell each RichEdit control to move with the
TListViews scroll bar?

Thanks for your help