I have an SDI application and the view class is derived from CListView. I populate the list view with potentially a large number of records which could take a minute or so. I want the user to be able to cancel the operation while the list view is populating.
How can I do this? Is there some sort of call back function?