Hi, I created a Win32 Console application with MFC Support. Actually what it does it displays a picture in a dialog. I created a modeless dialog using CreateDialog. But my problem is when ever i run the application the dialog diaplays the image correctly but for a sec and exits. How should i make it to stay longer so that i can see the dialog with image. Like proessing escape should exit. I am learning....Please Help! Thank You, Jenny