IShellPropSheetExt::AddPagesIShellPropSheetExt::AddPages*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IShellPropSheetExt
*Next Topic: IShellPropSheetExt::ReplacePage

IShellPropSheetExt::AddPages


HRESULT STDMETHODCALLTYPE AddPages(
    LPFNADDPROPSHEETPAGE lpfnAddPage,
    LPARAM lParam
   );

Adds one or more pages to a property sheet that the shell displays for a file object. When it is about to display the property sheet, the shell calls this method for each property sheet handler registered to the file type.

lpfnAddPage
Address of a function that the property sheet handler calls to add a page to the property sheet. The function takes a property sheet handle returned by the CreatePropertySheetPage function and the lParam parameter passed to the AddPages method.
lParam
Parameter to pass to the function specified by the lpfnAddPage method.

For each page the property sheet handler needs to add to a property sheet, the handler fills a PROPSHEETPAGE structure, calls the CreatePropertySheetPage function, and then calls the function specified by the lpfnAddPage parameter.

See also IShellPropSheetExt


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.