TreeView_EndEditLabelNow
This macro ends the editing of a tree-view items label. You can use this macro or send the TVM_ENDEDITLABELNOW message explicitly.
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 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.
Related message: TVM_ENDEDITLABELNOW
Requirements
Runs on | Versions | Defined in | Include | Link to |
---|---|---|---|---|
Windows CE OS | 1.0 and later | Commctrl.h |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.