Use of the property page

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.