IShellPropSheetExt::ReplacePageIShellPropSheetExt::ReplacePage*
*Contents  *Index  *Topic Contents
*Previous Topic: IShellPropSheetExt::AddPages
*Next Topic: IShellView

IShellPropSheetExt::ReplacePage


HRESULT STDMETHODCALLTYPE ReplacePage(
    UINT uPageID,
    LPFNADDPROPSHEETPAGE lpfnReplacePage,
    LPARAM lParam
   );

Replaces a page in a property sheet for a Control Panel object.

uPageID
Identifier of the page to replace. The values for this parameter for Control Panels can be found in the Cplext.h header file.
lpfnReplacePage
Address of a function that the property sheet handler calls to replace 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 ReplacePage method.
lParam
Parameter to pass to the function specified by the lpfnReplacePage parameter.

To replace a page, a property sheet handler fills a PROPSHEETPAGE structure, calls CreatePropertySheetPage, and then calls the function specified by lpfnReplacePage.

See also IShellPropSheetExt


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