Share via


CTreeCtrl::EndEditLabelNow

Concludes the edit operation on the label of a tree-view item in the current tree-view control.

BOOL EndEditLabelNow(
     BOOL fCancelWithoutSave
);

Parameters

Parameter

Description

[in] fCancelWithoutSave

true to discard changes to the tree-view item before concluding the edit operation, or false to save changes to the tree-view item before concluding the operation.

Return Value

true if this method is successful; otherwise, false.

Remarks

This method sends the TVM_ENDEDITLABELNOW message, which is described in the Windows SDK.

Requirements

Header: afxcmn.h

This method is supported in Windows NT 3.51 and later.

See Also

Reference

CTreeCtrl Class

Hierarchy Chart

TVM_ENDEDITLABELNOW

CTreeCtrl::EditLabel

Other Resources

CTreeCtrl Members