TreeView_EndEditLabelNow  16MUQRV 

The TreeView_EndEditLabelNow macro ends the editing of a tree-view item s label. You can use this macro or explicitly send the TVM_ENDEDITLABELNOWCAKPET message.

BOOL TreeView_EndEditLabelNow(

    hwnd,

 

    fCancel

 

   );

 

 

Parameters

hwnd

Handle to the tree-view control.

fCancel

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

 

Return Values

Returns TRUE if successful or FALSE otherwise.

Remarks

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

See Also

TVM_ENDEDITLABELNOW, TVN_ENDLABELEDIT