|
|
|
|
|
|
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| No
| Import Library
| -
| Header File
| shlobj.h
| Unicode
| No
| Platform Notes
| None
|
|
|
IShellPropSheetExt::ReplacePage
[Now Supported on Windows NT]
Replaces a page in a property sheet for a control panel object.
HRESULT STDMETHODCALLTYPE ReplacePage(
IShellPropSheetExt FAR *pProp,
|
| UINT uPageID,
|
| LPFNADDPROPSHEETPAGE lpfnReplacePage,
|
| LPARAM lParam
|
| );
|
|
Parameters
pProp
Pointer to the IShellPropSheetExt interface. In C++, this parameter is implicit.
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
Pointer to 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 lpfnReplacePage.
Return Values
Returns NOERROR if successful or an OLE-defined error value otherwise.
To replace a page, a property sheet handler fills a PROPSHEETPAGE structure, calls CreatePropertySheetPage, and then calls the function specified by lpfnReplacePage.
See Also
CreatePropertySheetPage, IShellPropSheetExt, PROPSHEETPAGE
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|