From other threads the Header control is a child control of the ListView. So how does one trap the resizing of the header control of a listview column?
In other words, in the WM_NOTIFY event, it seems from MSDN that I should be using a NMHEADER PTR and the NMHDR.hdr.code. That would work for the separate Header control but doesn't seem to work for a header control that is a child control of the ListView control.
Do I need to subclass the ListView to get the Header control message in the WM_NOTIFY event of the ListView? Is there even a WM_NOTIFY message associated with a sub classed Listview?
Any help would be appreciated.
Bob Mechler
In other words, in the WM_NOTIFY event, it seems from MSDN that I should be using a NMHEADER PTR and the NMHDR.hdr.code. That would work for the separate Header control but doesn't seem to work for a header control that is a child control of the ListView control.
Do I need to subclass the ListView to get the Header control message in the WM_NOTIFY event of the ListView? Is there even a WM_NOTIFY message associated with a sub classed Listview?
Any help would be appreciated.
Bob Mechler
Comment