Simple Listview Question

Started by Chris Cullen, March 17, 2005, 08:45:49 AM

Previous topic - Next topic

Chris Cullen

Hi

I am being thick!

I have a listview control on a form and I want to do something when the user double clicks an item.  Now, I know this comes in the form of a WM_NOTIFY message and I've actually done this outside of FF, but, I am not really sure where to pick this event up in the FF world!

I have tried the cursom event handler for the control AND the NOTIFY handler for the form, all to no avail!  Can someone point me in the right direction? :lol:

David Martin

IIRC  :)

Function FORM1_LISTVIEW1_CUSTOM ( _
                                   ControlIndex  As Long,  _  ' index in Control Array
                                   hWndForm      As Dword, _  ' handle of Form
                                   hWndControl   As Dword, _  ' handle of Control
                                   wMsg          As Long,  _  ' type of message
                                   wParam        As Dword, _  ' first message parameter
                                   lParam        As Long   _  ' second message parameter
                                   ) As Long

Select Case wMsg
Case %WM_LBUTTONDBLCLK

End Select


End Function

Chris Cullen

your a star! David Martin  :D

Works like a treat!

Many thanks  :wink: