转:
procedure DragControl(WinControl: TWincontrol);const SC_DRAGMOVE = $F012;begin ReleaseCapture; WinControl.Perform(WM_SYSCOMMAND, SC_DRAGMOVE, 0);end;