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 |
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour