// TODO: You may populate your ListView with items by directly accessing
// its list control through a call to GetListCtrl().
// this code only works for a report-mode list view
SetWindowLong(GetSafeHwnd(),GWL_STYLE,GetStyle() | LVS_REPORT | LVS_SHOWSELALWAYS );
}
LZ加上LVS_REPORT属性了吗?