共用方式為


CWnd::ContinueModal

This member function is called by RunModalLoop to determine when the modal state should be exited.

virtual BOOL ContinueModal( );

Return Value

Nonzero if modal loop is to be continued; 0 when EndModalLoop is called.

Remarks

By default, it returns non-zero until EndModalLoop is called.

Requirements

Header: afxwin.h

See Also

Reference

CWnd Class

Hierarchy Chart

CWnd::RunModalLoop

CWnd::EndModalLoop

Concepts

CWnd Members