CListCtrl / Select item
C / C++ / MFC
3
Posts
3
Posters
0
Views
1
Watching
-
Hi Guys, I want to select the first item i inserted in my ListCtrl. How can i do this? P.:cool:
SetItemState(nIndex, LVIS_SELECTED | LVIS_FOCUSED, LVIS_SELECTED | LVIS_FOCUSED); EnsureVisible(nIndex, FALSE); // scrolls the list if it's not in view
-
Hi Guys, I want to select the first item i inserted in my ListCtrl. How can i do this? P.:cool:
m_ListCtrl.SetItemState(0, LVIS_SELECTED, LVIS_SELECTED); Marc Soleda. ... she said you are the perfect stranger she said baby let's keep it like this... Tunnel of Love, Dire Straits.