Partager via


macro TreeView_GetPrevSibling (commctrl.h)

Récupère l’élément frère précédent d’un élément spécifié dans un contrôle arborescence. Vous pouvez utiliser cette macro ou envoyer explicitement le message TVM_GETNEXTITEM avec l’indicateur TVGN_PREVIOUS.

Syntaxe

void TreeView_GetPrevSibling(
   hwnd,
   hitem
);

Paramètres

hwnd

Type : HWND

Gérez le contrôle arborescence.

hitem

Type : HTREEITEM

Gérez un élément.

Valeur de retour

Aucune

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 commctrl.h

Voir aussi

Référence

TreeView_GetChild

TreeView_GetNextItem

TreeView_GetNextSibling

TreeView_GetParent