CWnd::RunModalLoop

int RunModalLoop( DWORD dwFlags );

Return Value

Specifies the value of the nResult parameter passed to the EndModalLoop member function, which is then used to end the modal loop.

Parameters

dwFlags

Specifies the Windows message to be sent. Can be one of the following values:

Remarks

Call this member function to retrieve, translate, or dispatch messages until ContinueModal returns FALSE. By default, ContinueModal returns FALSE after EndModalLoop is called. Returns the value provided as nResult to EndModalLoop.

CWnd OverviewClass MembersHierarchy Chart

See Also   EndModalLoop, WM_ENTERIDLE