1. Add a New class derived from CFileDialog
2. Add a dialog that will be the template to your File dialog.
3. Change the Style of the Dialog so that it does not have any border/Control Box and add the Clip Siblings property to checked.
4. Now in the constructor of your class...