Atmoz Posted November 21, 2002 Share Posted November 21, 2002 I want to use a non-title form, but I cant move the form (doh)... and I have seen other programs that have the same functions that winamp have, I have searched the web but havent find anything. How to move the form by using drag-drop? :blink: Link to comment Share on other sites More sharing options...
0 azcodemonkey Posted November 21, 2002 Share Posted November 21, 2002 This is the best method I've seen. Private Declare Function ReleaseCapture Lib "user32" () As Long Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long ' Put this anywhere you'd like to be able to drag from, like the MouseDown event on the form ReleaseCapture SendMessage Me.hwnd, &HA1, 2, 0& Link to comment Share on other sites More sharing options...
Question
Atmoz
I want to use a non-title form, but I cant move the form (doh)... and I have seen other programs that have the same functions that winamp have, I have searched the web but havent find anything.
How to move the form by using drag-drop? :blink:
Link to comment
Share on other sites
1 answer to this question
Recommended Posts