I am developing a Windows NT application which has only one dialog box. It does lot of background processing and provides a feedback to user through the dialog box. There is no interaction required from the user. As soon as the application is started, it brings up this dialog box and starts processing. So I created a dialog based application usin MFC, but once the "DoModal()" function is called for this dialog box class, then how do I do the idle processing after that??