Open nickbeth opened 3 months ago
ListView::column_width() seems to be missing the column index parameter. This in turn makes it always request the width of the first column (index 0), when the underlying API call lets the user choose which column to query.
ListView::column_width()
Relevant Win32 API reference can be found here.
Add a column_index parameter to ListView::column_width() and pass it as the wParam of the send_message call.
column_index
wParam
send_message
Issue
ListView::column_width()
seems to be missing the column index parameter. This in turn makes it always request the width of the first column (index 0), when the underlying API call lets the user choose which column to query.Relevant Win32 API reference can be found here.
Fix
Add a
column_index
parameter toListView::column_width()
and pass it as thewParam
of thesend_message
call.