Selected Row while updating in CListCtrl in MFC
C / C++ / MFC
2
Posts
2
Posters
1
Views
1
Watching
-
I have CListCtrl and updating this control with love data using OnTimer(). But i want to select some rows and do furthur actions. But when i select the row, the selected color appears,but moment it updating using OnTimer(), the selected row color become normal. How can i keep the selection row visible always?
Anu
-
I have CListCtrl and updating this control with love data using OnTimer(). But i want to select some rows and do furthur actions. But when i select the row, the selected color appears,but moment it updating using OnTimer(), the selected row color become normal. How can i keep the selection row visible always?
Anu
Store the selected item index (or, maybe, item data) before the updating the list. After update select the stored item.