CWnd::EndModalLoop

Terminates a call to RunModalLoop.

virtual void EndModalLoop( 
   int nResult  
);

Parameters

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

Remarks

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

Requirements

Header: afxwin.h

See Also

Reference

CWnd Class

Hierarchy Chart

CWnd::RunModalLoop

CWnd::ContinueModal