Platform SDK: Active Directory, ADSI, and Directory Services |
A displaySpecifier object has two attributes that identify property pages to display in the property sheet for instances of an object class.
You can add values to these attributes in an existing displaySpecifier object to specify additional property pages to include in the administrative and/or end-user property sheets. For example, suppose you added a set of mayHave attributes to the schema definition of the contact class (see Extending the Schema). To display these new attributes to end users, you could specify additional property pages in the shellPropertyPages attribute of the contact-Display object for each supported locale. Then, when a user views a contact object, your property page is displayed with the rest of the property pages in the contact property sheet.
To add custom property pages to the property sheets for an object class
Note that you can register the same property page COM object for more than one object class.
Note that registration is specific to one locale. If the property page COM object applies to all locales, register it in the object class's displaySpecifier object in all of the locale subcontainers in the DisplaySpecifiers container. If the property page COM object is localized for a certain locale, register it in the displaySpecifier object in that locale's subcontainer.