I've used a CListCtrl controller in my app, which works fine, except that I cannot figure out how to list all the items vertically.
By default the controller displays all items by adding a horizontal scrollbar.
I've removed the horizontal scrollbar by adding and removing the styles of the controller, however, for some reason I'm not able to get the items listed underneath each other when the list is long. When exceeding the height of the controller, it adds another column...and so on.
Re: CListCtrl alignment of items & vertical scroll
Also achieved programmatically through CListCtrl::SetView(LV_VIEW_DETAILS), which is equivalent to:
DWORD dw = myListCtrl.GetStyle();
assert(dw && LVS_REPORT);
Bookmarks