(SST) ShlWAPIFunctionInfo Version 1.0

Developer Reference
Property TSSTAdvancedListView.EditHandle
Represents the window handle to the in-place edit control/field of the TListItem that is being edited.
Scope
Protected (i.e. the property can only be accessed from code in a descendant class or the unit it which it is implemented).
Syntax
Property EditHandle : HWND READ RetEditHandle;
Values
Unsigned, 32-bit, integer value, of type HWND, that specifies a window handle to the in-place edit control of a TListItem, if unequal 0 and -1 (= $FFFF FFFF).
Remarks
The property is a read-only property.
If a TListView item is currently not being edited, the property reads 0.
Read this property to obtain a window handle to the edit control/field of the TListItem caption currently undergoing in-place editing.
It is recommended to verify that this property is non-zero and unequal INVALID_HANDLE_VALUE (= $FFFF FFFF), prior to passing it to Windows API functions as a parameter.
The handle should never be freed/destroyed (for example by calling DestroyWindow).
Requirements
Unit (Declared and implemented in) SSTNewUnit.pas
Library SSTNewUnit.dcu/SSTNewUnit.obj
Unicode Implemented as ANSI version only.
See Also
TSSTAdvancedListView, Properties, RetEditHandle, CopyEditText, CutEditText, PasteEditText, ClearEditText, ClearEditSel, EditSelectAll. EditClearUndo, EditUndo, EditCanUndo.
 
Windows APIs: ListView_GetEditControl, DestroyWindow.

Document/Contents version 1.00
Page/URI last updated on April 28, 2022
 
Copyright © Stoelzel Software Technologie (SST) 2010 - 2017
Suggestions and comments mail to:
webmaster@stoelzelsoftwaretech.com