http://www.erols.com/anar/
You will find a way how to create Property Sheets as main window,how to create dialogs in DLLs.
Good luck!