Partager via


macro Button_SetDropDownState (commctrl.h)

Définit l’état de liste déroulante d’un bouton spécifié avec le style BS_SPLITBUTTON. Utilisez cette macro ou envoyez le message BCM_SETDROPDOWNSTATE explicitement.

Syntaxe

void Button_SetDropDownState(
  [in]  hwnd,
  [in]  fDropDown
);

Paramètres

[in] hwnd

Type : HWND

Poignée du contrôle bouton.

[in] fDropDown

Type : BOOL

TRUE pour l’état de BST_DROPDOWNPUSHED, ou FALSE dans le cas contraire.

Valeur de retour

None

Configuration requise

Condition requise Valeur
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 commctrl.h