+ //
+ // Disables other app windows and window proc message processing
+ // until WinDismissDlg called
+ //
+ ::WinProcessDlg((HWND)GetHwnd());
+
+ //
+ // Before entering the modal loop, reset the "is in OnIdle()" flag (see
+ // comment in app.cpp)
+ //
+ extern bool gbInOnIdle;
+ bool bWasInOnIdle = gbInOnIdle;
+
+ gbInOnIdle = FALSE;