This documentation is archived and is not being maintained.

CWnd::EndModalLoop

Terminates a call to RunModalLoop.

virtual void EndModalLoop( 
   int nResult  
);

nResult

Contains the value to be returned to the caller of RunModalLoop.

The nResult parameter is propagated to the return value from RunModalLoop.

Header: afxwin.h

Show: