Méthode IFileDialog::SetOkButtonLabel (shobjidl_core.h)

Définit le texte du bouton Ouvrir ou Enregistrer .

Syntaxe

HRESULT SetOkButtonLabel(
  [in] LPCWSTR pszText
);

Paramètres

[in] pszText

Type : LPCWSTR

Pointeur vers une mémoire tampon qui contient le texte du bouton.

Valeur retournée

Type : HRESULT

Si cette méthode réussit, elle retourne S_OK. Sinon, elle retourne un code d’erreur HRESULT.

Spécifications

   
Client minimal pris en charge Windows Vista [applications de bureau uniquement]
Serveur minimal pris en charge Windows Server 2008 [applications de bureau uniquement]
Plateforme cible Windows
En-tête shobjidl_core.h (inclure Shobjidl.h)