次の方法で共有


Adding Controls to a Property Sheet

OverviewHow Do I

By default, a property sheet allocates window area for the property pages, the tab index, and the OK, Cancel, and Apply buttons. (A modeless property sheet does not have the OK, Cancel, and Apply buttons.) You can add other controls to the property sheet. For example, you can add a preview window to the right of the property page area to show the user what the current settings would look like if applied to an external object.

You can add controls to the property sheet dialog in the OnCreate handler. Accommodating additional controls usually requires expanding the size of the property sheet dialog. After calling the base class CPropertySheet::OnCreate, call to get the width and height of the currently allocated property sheet window, expand the rectangle’s dimensions, and call to change the size of the property sheet window.

For more information on property sheets, see the following articles:

See Also   ,