I have a list control in report mode and I'd like to remove the horizontal scrollbar from the list control and if the lines are too long, I'd have the remainder simply being truncated.
It's should be like using LVS_NOSCROLL
but only for the horizontal scrollbar.
LVS_NOSCROLL
does almost what I want but:
- it removes also the vertical scrollbar
- the list control's header is no longer displayed
Or in pictures:
I want this:
instead of this:
All information I've found is about the LVS_NOSCROLL
style being not compatible with the LVS_LIST
or LVS_REPORT
, referencing a "Knowledge Base Article Q137520" which I couln'd find anywhere.
Does anybody have an idea ?