2 questions, but first some background.

I've managed to get a modeless dialog, and I've managed to get the property
sheets working, but

1) I can't have any other controls, like an OK button, on the same dialog as
the propery sheet control, which means I don't know how to close the dialog.
Destrow window from the CPropertyPage class only clears the page from the
control.

2) How do I retreive the data from the property pages and get it back to my
main application dialog?

Thanks in advance

Martin