SEC_TREECLASS::EditLabel

CEdit*SEC_TREECLASS::EditLabel(HTREEITEMhti, intnCol)

Begins in-place editing of the specified item’s text.

Defined in: trcore.inl

Return Value

If successful, a pointer to the Cedit object that is used to edit the item text; otherwise NULL.

Parameters

hti

Handle of the tree item to be edited.

nCol

Specifies the column index for a multi-column tree. Default is 0.

Comments

Call this function to begin in-place editing of the specified item’s text. The editing is accomplished by replacing the text of the item with a single-line edit control containing the text.