CListBox如何取消某一项高亮状态
CListBox如何取消某一项高亮状态?急用,求各位大大指点
[解决办法]
CListBox::SetSel()
int SetSel(
int nIndex,
BOOL bSelect = TRUE
);
bSelect
Specifies how to set the selection. If bSelect is TRUE, the string is selected and highlighted; if FALSE, the highlight is removed and the string is no longer selected. The specified string is selected and highlighted by default.