I am trying make a Dialog-based application. Since the dialog template was created as a property page, I attempted to modify the windows style to Popup instead of Child. But to my surprise the virtual function CWin::PreCreateWindow() is never called. so dear gurus, give me a hand.

Thank you.

Tim