IFileSaveDialog::SetOkButtonLabel Method

Sets the text of the Open or Save button.

Syntax

HRESULT SetOkButtonLabel(      
    LPCWSTR pszText
);

Parameters

  • pszText
    [in] A pointer to a buffer that contains the button text.

Return Value

Returns S_OK if successful, or an error value otherwise.