In VC, the property page can be roughly divided into two implementation methods:
1. use the cpropertysheet class that comes with MFC (implement the Framework of the property page, specify the size of the property page, and add and switch the property page) and cpropertypage (the implemented dialog box is newly defined as this class of derived class as an attribute page ). This method has a large degree of freedom.
2. Use the tab Control + dialog box. This method is intuitive, but not concise.
Specific implementation of the way there are predecessors said very clearly: http://www.vckbase.com/document/viewdoc? Id = 398
Here we want to provide a solution to the problem that solution 4 cannot pass the tag click message to the main dialog box, you can pass the handle of the Main Dialog box to the parent dialog box through the cpropertypage Constructor (the carrier of the property page), and then you can use this handle to advertise messages between the two.