Private Sub Form_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
....
ReleaseCapture
EndSub
MSDN писал(а):The ReleaseCapture function releases the mouse capture from a window in the current thread and restores normal mouse input processing. A window that has captured the mouse receives all mouse input, regardless of the position of the cursor, except when a mouse button is clicked while the cursor hot spot is in the window of another thread.
Сейчас этот форум просматривают: Google-бот, SemrushBot и гости: 21