Click here to Skip to main content
15,895,142 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a CListCtrl . I want to implement Ctrl+F on that control. But the problem I am facing is that my List is updating at every interval.Means it can contain only 200 lines and after every 200 lines it deletes previous lines. Please guide.
Posted
Comments
Richard MacCutchan 28-Sep-11 5:21am    
Your question is somewhat confusing. What do you mean "it can contain only 200 lines and after every 200 lines it deletes previous lines"?
ssuman20 28-Sep-11 5:29am    
I have a listcontrol in which its contents are updating.The list can contain only 200 lines and after every 200 lines the contents are being refreshed.
Or you can say that if i have to implement Ctrl+F on the list control whose data are being refreshed.
Richard MacCutchan 28-Sep-11 10:42am    
Well I guess you have to stop the update, or make a copy of the list control at the time Ctrl-F is pressed.

1 solution

Subclass[^] the CListCtrl. Here is another example[^] of subclassing a list control.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900