Partager via


TreeView_GetChild macro (commctrl.h)

Récupère le premier élément enfant de l’élément d’arborescence spécifié. Vous pouvez utiliser cette macro ou envoyer explicitement le message TVM_GETNEXTITEM avec l’indicateur TVGN_CHILD.

Syntaxe

void TreeView_GetChild(
   hwnd,
   hitem
);

Paramètres

hwnd

Type : HWND

Gérez le contrôle d’arborescence.

hitem

Type : HTREEITEM

Handle vers un élément d’arborescence.

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_GetNextItem

TreeView_GetNextSibling

TreeView_GetParent

TreeView_GetPrevSibling