Taskbar-notifier like MSN Messenger

hakanfa
hakanfa used Ask the Experts™
on
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
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
here's a 'cleaned' example from one of my projects
http://leenover.homeip.net/Delphi/MiscStuff/DSiNotifierPopUp.zip

Commented:
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;

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial