I have an SDI application. How can I pop-up a modal dialog box after the application has arisen, but before the user can enter any data? I tried putting the code for a modal dialog box in OnInitDialog() and other places, but the dialog box pops-up too soon, before the application has fully been created.

Any response any one can give me will be greatly appreciated.