I have a small application which displays tabular data using a listview
control. I'd like to be able to respond to a user resizing a column but
couldn't see anything in the win32::gui documentation that helped. A bit
of digging suggests that there is an ItemChanged event that is triggered
however it doesn't seem to get passed through.
Q1. Is there another way to detect a user change in a column width?
Q2. Is it possible to write a window procedure in perl? (as with VB
subclassing)
Any suggestions or code snippets gratefully received.
Iain
p.s. The effect I want to achieve is a listview with 5 columns. The
first 4 can be resized by the user but the 5th (the one on the right)
should automagically expand to fill the remaining space to the edge of
the window.
|