Shift + DBLClick nasıl gönderebilirim ..
kodu arka arkaya yazdıgımda dogal olarak aynı anda olmuyor ..
tthread ile arka planda shift gönderirken ana pencerede dblclick göndereyim istedim olmadı ..
SendMessage ile Shift + DBLClick
Forum kuralları
Forum kurallarını okuyup, uyunuz!
Forum kurallarını okuyup, uyunuz!
SendMessage ile Shift + DBLClick
Kim ilim öğrenir sonra da onu gizlerse âhirette onun ağzına ateşten bir gem vurulur. (Hadis-i Şerif)
-
- Üye
- Mesajlar: 136
- Kayıt: 18 Oca 2005 05:24
- Konum: İzmir
Re: SendMessage ile Shift + DBLClick
function SendMessage(hWnd: HWND; Msg: UINT; wParam: WPARAM; lParam: LPARAM): LRESULT; stdcall;
The third parameter of the functions represents wParam. It is currently set to 0 but you can use that parameter to indicate for instance that the CTRL or SHIFT buttons are pressed. Check the documentation on the Windows mouse messages at the MSDN.
Now for the double click: Windows has a message for that:
SendMessage(hWnd, WM_LBUTTONDBLCLK, 0, y shl 16 or x);
The third parameter of the functions represents wParam. It is currently set to 0 but you can use that parameter to indicate for instance that the CTRL or SHIFT buttons are pressed. Check the documentation on the Windows mouse messages at the MSDN.
Now for the double click: Windows has a message for that:
SendMessage(hWnd, WM_LBUTTONDBLCLK, 0, y shl 16 or x);
Her iyinin içinde bir Kötülük.Her Kötnün içide de bir iyilik vardır