|
|||||||
| ||
![]() |
|
|
Seçenekler | Arama | Stil |
![]() Etkileşimsiz Form Yapmak | ||||||||||
|
(#1)
|
||||||||||
|
Üye
![]() Mesaj Sayısı: 923
Açtığı Konu: 551
Level: 27 [ ![]() ![]() ]Paylaşım: 130 / 651 Üyelik tarihi: Nov 2007
Kullanıcı No: 191658
Nerden: STARHACk.ORG'dan
Tecrübe Puanı: 38
REP Puanı : 364
REP Seviyesi :
![]() ![]() ![]() ![]() |
(General)(Declaration)
Private Type POINTAPI X As Long Y As Long End Type Private Declare Function SetCapture Lib "user32" (ByVal hwnd As Long) As Long Private Declare Function ReleaseCapture Lib "user32" () As Long Private Declare Function GetCursorPos Lib "user32" (lpPoint As POINTAPI) As Long Dim Pt As POINTAPI Private Sub Form_Load() SetCapture Me.hwnd End Sub Private Sub Form_MouseDown(Button As Integer, Shift As Integer, _ X As Single, Y As Single) ReleaseCapture SetCapture Me.hwnd End Sub Private Sub Form_MouseMove(Button As Integer, Shift As Integer, _ X As Single, Y As Single) GetCursorPos Pt Me.CurrentX = 0 Me.CurrentY = 0 Me.Cls Me.Print "Fare Kooordinatları : " Me.Print "X:" + Str$(Pt.X) + " Y:" + Str$(Pt.Y) Me.Print " (Çıkış - ALT-F4)" SetCapture Me.hwnd End Sub Private Sub Form_MouseUp(Button As Integer, Shift As Integer, _ X As Single, Y As Single) ReleaseCapture SetCapture Me.hwnd End Sub |
|||||||||
|
||||||||||
|
|
![]() |
| Konuyu Toplam 1 Üye okuyor. (0 Kayıtlı üye ve 1 Misafir) | |
| Seçenekler | Arama |
| Stil | |
|
|