
Originally Posted by
MrDoomMaster
Here is how I understand it:
Create a dialog >> Create the property sheet and center/size it inside of the dialog >> add dialog resources to each of the tab pages?
No. You just need to create the pages in the dialog resource editor. You don't have to create the dialog that the pages will be housed in. The PropertySheet() function will automatically create a dialog, whose size will depend on the size of your largest page.
Once PropertySheet() has been called, your application-defined callback function will handle its messages. Handle the WM_INITDIALOG message in this procedure and re-size it as necessary.
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.