Hi FFhex,ffhex wrote:Hello Paul,
many thanks for the replay and the good tips.
The last (alternatively) way is good and I want it even try later.
To go another way I found this , but I dont understand, how to implement it in Firefly.
First, it would completely satisfy me, to edit only the first item with LVS_EDITLABELS.
Here I found this and I tried it out in the invoices-example.
But some things wrong :-(
(when I edit the item-text: the new input is not accepted)
Please can you have a look of the code to resolve this problem?
That would be very nice!
Many thanks!
FFhex.
If all you want to do is accept the newly entered text, then all you would need to do is return TRUE from the function?
Code: Select all
'--------------------------------------------------------------------------------
Function FRMMAIN_LVWINVOICES_LVN_ENDLABELEDIT ( _
ControlIndex As Integer, _ ' index in Control Array
hWndForm As hWnd, _ ' handle of Form
hWndControl As hWnd, _ ' handle of Control
ByVal lpDI As NMLVDISPINFO Ptr _ ' pointer to NMLVDISPINFO
) As Integer
Function = True
End Function