Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing column index parameter for ListView::column_width() #287

Open
nickbeth opened this issue Apr 4, 2024 · 0 comments
Open

Missing column index parameter for ListView::column_width() #287

nickbeth opened this issue Apr 4, 2024 · 0 comments

Comments

@nickbeth
Copy link

nickbeth commented Apr 4, 2024

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 to ListView::column_width() and pass it as the wParam of the send_message call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant