如何让 CListCtrl 水平跨越小图标?

How do I get CListCtrl to span small icons horizontally?

我正在尝试让 CListCtrl 向我显示一堆水平移动的小图标,但我似乎无法弄清楚哪些设置可以做到这一点。这是如何实现的?

您可以在对话框编辑器、视图=小图标或

中更改它
dwStyle |= LVS_SMALLICON
mlistctrl.Create( dwStyle, rect, parent, id );

//or
mlistctrl.ModifyStyle(LVS_REPORT, LVS_SMALLICON);