Link to home
Start Free TrialLog in
Avatar of tom1234
tom1234Flag for Korea, Republic of

asked on

How can I move the window , not drag on title bar but on every side of window

I wanna make a post-it on my windows.

But the problem is I do not want the title bar on it.  But If I put off tilte bar , then I cant move the window.
How can I move the window without toolbar. Just like clicking every-side on the window and drag.

Please help me
Avatar of Ferruccio Accalai
Ferruccio Accalai
Flag of Italy image

procedure TForm1.FormMouseDown(Sender: TObject; Button: TMouseButton;
  Shift: TShiftState; X, Y: Integer);
begin
  ReleaseCapture;
  SendMessage(Form1.Handle, WM_SYSCOMMAND, 61458, 0) ;
end;
ASKER CERTIFIED SOLUTION
Avatar of delphibr
delphibr
Flag of Brazil image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tom1234

ASKER

Very nice dear!!