Link to home
Start Free TrialLog in
Avatar of Actia
Actia

asked on

TListView -> Adding bitmaps to column header

Hello,

my task is:

1. Add two bitmaps to headers of columns of TListView.
One bitmap goes to the left, another to the right.

2. User clicks on the left one- I catch this event.

3. User clicks on the right one- I catch this event.

Question:

How can I do it?

Jack :-)
SOLUTION
Avatar of TheRealLoki
TheRealLoki
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Actia
Actia

ASKER

So you suggest to draw bitmaps above ListView...
I tried to do it this way and that's what I found:

- TImage is always behind TListView, I solved this problem by adding TImage to TPanel

but I didn't find the way to stop user from resizing columns- it spoils the whole effort.

Jack
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial