procedure TForm1.Button1MouseDown(Sender: TObject; Button: TMouseButton;<br> Shift: TShiftState; X, Y: Integer);<br>{$IFNDEF WIN32}<br>var<br> pt : TPoint;<br>{$ENDIF}<br>begin<br> if ssCtrl in Shift then begin<br> ReleaseCapture;<br> SendMessage(Button1.Handle, WM_SYSCOMMAND, 61458, 0);<br> {$IFNDEF WIN32}<br> GetCursorPos(pt);<br> SendMessage(Button1.Handle,<br> WM_LBUTTONUP,<br> MK_CONTROL,<br> Longint(pt));<br> {$ENDIF}<br> end;<br>end;