在已经关联好了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);
在已经关联好了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);