++



         

121. , - 4


for( CView *p = doc->GetFirstView(); p ; p = p->NextView() )

p->Invalidate();

:

POSITION pos = doc->GetFirstViewPosition();

for( ; pos ; pos = doc->GetNextView(pos) )

(pos->current())->Invalidate();

:

CPosition pos = doc->GetFirstViewPosition();

for( ; pos; pos.Advance() )

( pos->CurrentView() )->Invalidate();

:

ViewListIterator cur_view = doc->View_list(); //

//

//

//

// .

for( ; cur_view ; ++cur_view ) // ++

// .

cur_view->Invalidate(); // -> View*.

, . , " ".