2,790 questions
If I resize the new added column, with for example :
ListView_SetColumnWidth(hWndListView, nNewColumn, LVSCW_AUTOSIZE);
the horizontal scrollbar is redrawn correctly
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi
Platform: Win32/C++
When I adding a columns to a list view control at runtime I need to resize the list ctrl window to force it show the added column because the horizontal scrollbar of listctrl is NOT recalculated by itself.
How fix this issue?
Thanks
If I resize the new added column, with for example :
ListView_SetColumnWidth(hWndListView, nNewColumn, LVSCW_AUTOSIZE);
the horizontal scrollbar is redrawn correctly