在已经关联好了CImageList的情况下之前一直是m_treeCtrl.SetItem(m_hSelect, TVIF_STATE, _T("s"), 0, 3, 0, 0, 0);无法修改成功,把第二个参数换成TVIF_IMAGE|TVIF_SELECTEDIMAGE成功修改图标m_treeCtrl.SetItem(m_hSelect, TVIF_IMAGE|TVIF_SELECTEDIMAGE, _T("s"), 0, 3, 0, 0, 0);