Declare Function ReleaseCapture Lib "user32" () As Long
Public Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long

When i declare this windows api to enable borderless form to be dragged, do i need to add in some dll ?
Another question is for the borderless form, once i click somewhere outside of the form, the app doesnt seem to be minimized to the taskbar, does this need windows api as well?