SendMessage ile Shift + DBLClick

Delphi'de kod yazma ile ilgili sorularınızı bu foruma yazabilirsiniz.
Cevapla
Kullanıcı avatarı
ovural
Üye
Mesajlar: 167
Kayıt: 22 Eki 2003 10:20
İletişim:

SendMessage ile Shift + DBLClick

Mesaj gönderen ovural »

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ı ..
Kim ilim öğrenir sonra da onu gizlerse âhirette onun ağzına ateşten bir gem vurulur. (Hadis-i Şerif)
Nemesis2005
Üye
Mesajlar: 136
Kayıt: 18 Oca 2005 05:24
Konum: İzmir

Re: SendMessage ile Shift + DBLClick

Mesaj gönderen Nemesis2005 »

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);
Her iyinin içinde bir Kötülük.Her Kötnün içide de bir iyilik vardır
Cevapla