Can anybody provide me a source code in VC++5.0, which will create a MDI window and a dialog box automatically when the application starts up. I have some problem in doing that. I could'n figure out in what function/message map I can write that piece of code, wherever I do that, the window always getting covered by View window in one way or the other. Any help or clue is most welcome.

Senior Consultant Cap Gemini America,LLC