IPropertySheetProvider::Show

[This is preliminary documentation and subject to change.]

Displays a property sheet frame parented to the HWND passed in to this function.

HRESULT Show(
  long window,  // Handle of the parent window
  int page      // Page that is shown
);
 

Parameters

window
[in] Specifies the handle of the parent window.
page
[in] Specifies which page on the property sheet is shown. It is zero indexed.

Return Values

S_OK
The property sheet was successfully displayed.
E_UNEXPECTED
There were no pages to display. IPropertySheetProvider::CreatePropertySheet had not been called.
E_FAIL
The sheet could not be created because window was non-NULL and invalid or the thread could not be created.
E_INVALIDARG
The page was less than zero.

See Also

IPropertySheetProvider