hey guys. I have this current code which works very well:
Func WM_NOTIFY($hWnd, $MsgID, $wParam, $lParam)
Local $tagNMHDR, $event, $hwndFrom, $code
$tagNMHDR = DllStructCreate("int;int;int", $lParam)
If @error Then Return 0
$code = DllStructGetData($tagNMHDR, 3)
If $wParam = $listview1 And $code = -3 Then $double_click = True
If $wParam = $listview2 And $code = -3 Then $double_click2 = True
Return $GUI_RUNDEFMSG
EndFunc ;==>WM_NOTIFY
It allows me to double clic
Hi,
Here is a proper code for the double click: #include <StructureConstants.au3>
#include <WindowsConstants.au3>
#include <GUIConstantsEx.au3>
Func WM_NOTIFY($hWnd, $iMsg, $iwParam, $ilParam)
#forceref $hWnd, $iMsg, $iwParam
Local $tNMHDR = 0, $iIDFrom = 0, $iCode = 0
$tNMHDR = DllStructCreate($tagNMHDR, $ilParam)
$iIDFrom = DllStructGetData($tNMHDR, "IDFrom")
$iCode = DllStructGetData($tNMHDR, "Code")
Switch $iCode
Case $NM_DBLCLK