主题:请问怎样使VB的程序点击任意位置在桌面拖动?
apollo2606
[专家分:30] 发布于 2008-10-10 16:58:00
请问怎样使VB的程序点击任意位置在桌面拖动,就像Winamp一样?
回复列表 (共1个回复)
沙发
merry05 [专家分:8920] 发布于 2008-10-10 17:42:00
Private Sub Form_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
ReleaseCapture
SendMessage Me.hwnd, WM_NCLBUTTONDOWN, HTCAPTION, 0&
End Sub
我来回复