Automatic opening of a window ?

This question concerns BPW 7.0 - Windows 3.1 target.

Hi,

I would like to know what is the best way to open a configuration
dialog after the main window of my app appears and without any action
of the user.

I think of the two following possibilities :

- In the SetUpWindow of my main window, create a timer. In the
WM_Timer procedure of it, kill the timer and display the dialog box.

- In the MessageLoop of my main window, display my dialog if the app
just started.

Is there any better way (trap any message indicating the beginning of
messages processing if exists) ?

Thanks in advance for some help.

Dr David Tetard.