CWnd::EndModalLoop

void EndModalLoop( int nResult );

Parameters

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

Remarks

Call this member function to terminate a call to RunModalLoop. The nResult parameter is propagated to the return value from RunModalLoop.

CWnd OverviewClass MembersHierarchy Chart

See Also   CWnd::RunModalLoop, CWnd::ContinueModal