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:
MLF_NOKICKIDLE Don’t send WM_KICKIDLE messages to the window.
MLF_SHOWONIDLE Show the window when message queue goes idle.
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 Overview | Class Members | Hierarchy Chart
See Also EndModalLoop,