Partager via


macro Button_SetText (windowsx.h)

Définit le texte d’un bouton.

Syntaxe

void Button_SetText(
   hwndCtl,
   lpsz
);

Paramètres

hwndCtl

Type : HWND

Poignée du contrôle bouton.

lpsz

Type : LPTSTR

Pointeur vers une chaîne terminée par null à utiliser comme texte de bouton.

Valeur de retour

None

Remarques

La macro est étendue à un appel à SetWindowText.

Configuration requise

   
Client minimal pris en charge Windows Vista [applications de bureau uniquement]
Serveur minimal pris en charge Windows Server 2003 [applications de bureau uniquement]
Plateforme cible Windows
En-tête windowsx.h