Advertisement
4_2005-2006 Miscellaneous #160792

Drag Away

To Drag A Form Without Using The Annoying Blue Bar

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
'Make A New Form 
'Copy And Past this In the Main Code Area For
'Form
Private Sub Form_Load()
End Sub
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
 Dim lngReturnValue As Long
 If Button = 1 Then
  Call ReleaseCapture
  lngReturnValue = SendMessage(Me.hWnd, WM_NCLBUTTONDOWN, HTCAPTION, 0&)
 End If
End Sub
'And Werk Like You would Always Werk Then
'Press
'Play And Dag It From The 
'Main body Of the Form 
'Instead Of the Blue Bar
Original Comments (3)
Recovered from Wayback Machine