itemposition should be available via getsystemmetrics or other windows message, study source code of TListview to see how Borland is handling it, and check out the MSAPI help file on that component (95Guide.hlp under program files|common files|MSHelp, "list view control messages").
Dave --- On Mon, 10/19/09, soji mathew <[email protected]> wrote: From: soji mathew <[email protected]> Subject: Re: [delphi-en] TListView with TProgressBar under icon To: [email protected] Date: Monday, October 19, 2009, 6:31 AM Thanks for your reply Dave. Yes. I am trying to get the screen position and try to draw. But main problem I am facing is that the item position may change on scroll, resize etc. So I want to calculate the screen position on change of item position. Can I get the item position change at any event? Resize is working fine. But scrolling makes problems. Basically I am not able to find an after scroll or on scroll event to handle it. Any idea how can I capture the scroll event? With warm regards,Soji. --- On Mon, 10/19/09, David Smith <djsmith_1998@ yahoo.com> wrote: From: David Smith <djsmith_1998@ yahoo.com> Subject: Re: [delphi-en] TListView with TProgressBar under icon To: delphi...@yahoogrou ps.com Date: Monday, October 19, 2009, 6:21 PM might be kind of tough since the TListview is part of MS Common controls. The look and feel is hard coded. You could access screen position of the icon and draw the progressbar under it and the caption. Dave --- On Mon, 10/19/09, so_mathew <so_mat...@yahoo. com> wrote: From: so_mathew <so_mat...@yahoo. com> Subject: [delphi-en] TListView with TProgressBar under icon To: delphi...@yahoogrou ps.com Date: Monday, October 19, 2009, 2:00 AM Hi All, I am trying to create a list view derived from normal TListview. I want to use the list view with view style vsIcon. When user double clicks an item, I want to show the progress bar under the icon. Preferably under the icon and above the caption label.(If possible, I want to increase the space between the icon and label to accommodate the progress bar.) In normal list view when we want to edit the caption, the caption label becomes editable. So I think it is possible to show a progress bar also with each item. Thanks in advance, Soji. [Non-text portions of this message have been removed] [Non-text portions of this message have been removed] [Non-text portions of this message have been removed]

