A* Move a form without a title bar!
Move any form without a title bar! You can use a label, command button, picturebox, anything to move the form.
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
'Put this in a module: Declare Sub ReleaseCapture Lib "user32" () Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wparam As Integer, ByVal iparam As Long) As Long Public Sub formdrag(theform As Form) ReleaseCapture Call SendMessage(theform.hWnd, &HA1, 2, 0&) End Sub '************** 'put this in the object that u want to move the form in the MouseDown: formdrag Me 'thats it...vote for me if u like it...or email me if u need help...it should work...worked for me
Original Comments (3)
Recovered from Wayback Machine