Advertisement
2002ASP Miscellaneous #6449

Drag Away

To Drag A Form Without Using The Annoying Blue Bar

AI

Yapay Zeka Özeti: 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.

Kaynak Kod
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
Orijinal Yorumlar (3)
Wayback Machine'den kurtarıldı