用了SetCapture,窗体控件就沅法单击,不知何故?
如题,用了SetCapture,窗体控件就沅法单击,不知何故?Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
With Form1
If X > 0 And X < Form1.Width And Y > 0 And Y < Form1.Height Then
SetCapture Form1.hwnd
Me.Caption = "进来了"
Else
ReleaseCapture
Me.Caption = "出去了"
End If
End With
End Sub