• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 646
  • Last Modified:

Taskbar-notifier like MSN Messenger

Hello!

I would like to make a form appear like the notifier in MSN Messenger.
Criterias:

1. On top of all other open windows.
2. Slide in - slide  out
3.Placed just above the taskbar

Any suggestions? Any components on the market for this purpouse?

Thanx,
Hokki
0
hakanfa
Asked:
hakanfa
1 Solution
 
Lee_NoverCommented:
here's a 'cleaned' example from one of my projects
http://leenover.homeip.net/Delphi/MiscStuff/DSiNotifierPopUp.zip
0
 
huiyueCommented:
I have an idea.
You can use a timer.Here is the simple code.

procedure TForm1.FormCreate(Sender: TObject);
begin
  Form1.Left :=Screen.Width - Form1.Width;
  Form1.Top :=Screen.Height;
  //set your form on top of any another application
   SetWindowPos(Application.Handle, HWND_TOPMOST, 0, 0, 0, 0,(SWP_NOMOVE or SWP_NOSIZE));
end;

procedure TForm1.Timer1Timer(Sender: TObject);
begin
  if (Form1.Top) > (Screen.Height -Form1.Height) then
  Form1.Top :=Form1.Top -10
  else
    Timer1.Enabled :=false;
end;

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.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now