Updating a view based on dialog input
Posted on 1998-08-24
My app has a check list box (in a dialog) in which the user indicates which list items he'd like to see in the main list view. When the user presses the OK button, the code correctly updates the data structure indicating which items to display. And the CListView::OnUpdate() method correctly accesses this display data, to figure out which items to actually display. But I don't know how to force the View to re-draw itself when the user presses OK. I can't call CListView::OnUpdate() directly, since MVC++'s Class Wizard makes OnUpdate() a protected method.. How do I get the view to re-draw?