PicH 移动的Picture控件Private Sub PicH_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
    If Button = 1 Then
        PMouDown = True
        PicH.BackColor = &H404040
    End If
End SubPrivate Sub PicH_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
    If PMouDown Then
        With PicH
            .lEFT = X + .lEFT
        End With
    End If
End SubPrivate Sub PicH_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
    If PMouDown Then
        PicH.BackColor = &H80000004
        PMouDown = False
    End If
    ReplaseH'函数,用来控制窗口各个控件位置(具体你来写)
End Sub