EDITORHANDLE property (PropertyGrid)
Description
Returns the window handle (HWND) of the editor control used to modify item values in the Property Grid.
Property Value
The EDITORHANDLE property is a Windows window handle (HWND).
Property Traits
Development | Runtime | Indexed | Scaled | Synthetic |
---|---|---|---|---|
N/A | Get | No | No | No |
Remarks
This property returns 0 when no item editor is present, e.g. for PS_PGIT_STATIC$ type items.
The EDITORHANDLE is not guaranteed to be the same for the lifetime of the Property Grid control, therefore it should not be cached.
Example
$Insert PS_Property_Grid_Equates $Insert Logical CtrlEntID = @Window : ".PRG_MAIN" If Get_Property( CtrlEntID, "EDITORHANDLE" ) Then // A property is being edited Call Exec_Method( CtrlEntID, "SELECTALL" ) End
See Also
SELECTALL method