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
gamjaradioAsked:
Who is Participating?
 
delphibrCommented:
Please, give a look in this very good article:

http://delphi.about.com/od/windowsshellapi/a/dragnocaption.htm

I hope this is helpfull for you!

DelphiBR
0
 
Ferruccio AccalaiSenior developer, analyst and customer assistance Commented:
procedure TForm1.FormMouseDown(Sender: TObject; Button: TMouseButton;
  Shift: TShiftState; X, Y: Integer);
begin
  ReleaseCapture;
  SendMessage(Form1.Handle, WM_SYSCOMMAND, 61458, 0) ;
end;
0
 
gamjaradioAuthor Commented:
Very nice dear!!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.