Ahoj
Mašel jsem tenhle kód:
Private Declare Function SendMessage Lib "User32" Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long
Private Declare Sub ReleaseCapture Lib "User32" ()
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
ReleaseCapture
SendMessage Form1.hWnd, 161, 2, 0
End Sub
Používám MS Visual Studio 2008 Professional. Kam to mám zapsat???
Díky