TreeView_EndEditLabelNow

This macro ends the editing of a tree-view item’s label. You can use this macro or send the TVM_ENDEDITLABELNOW message explicitly.

At a Glance

Header file: Commctrl.h
Windows CE versions: 1.0 and later
Related message: TVM_ENDEDITLABELNOW

Syntax

BOOL TreeView_EndEditLabelNow( hwnd, fCancel);

Parameters

hwndTV

Handle to the tree view control.

fCancel

Variable that indicates whether the editing is canceled without being saved to the label. If set to is TRUE, the system cancels editing without saving the changes. If set to FALSE, the system saves the changes to the label.

Return Values

TRUE indicates success. FALSE indicates failure.

Remarks

This macro causes the TVN_ENDLABELEDIT notification message to be sent to the parent window of the tree view control.