I'm trying to trigger an event after resizing a column in a TListView set to ViewStyle = vsReport.
Specifically I have two ListViews which I want to keep the columns the same width. Only one listView has column headings, so the event needs to be linked to these.
Poking around at the available procedures for TListViews, there seems to be no relevant options...
Any help?
Subclass the ListView and intercept
WM_NOTIFYmessages that are sent from the ListView's header control to the ListView, looking forHDN_ENDTRACKandHDN_ITEMCHANGEDnotifications.Not to be confused with
CN_NOTIFYmessages, which areWM_NOTIFYmessages that the ListView sends to itself.