How to minimize form at startup?

Mehul <> a crit dans l'article

> Hi..
> I'm writing a program which uses the taskbar notification area. I need
> when the program starts, the main form is initially invisible, and only
> icon on the tray (next to the clock)  is visible. To show the main form,
> user could double-click on that tray-icon.

> I do not understand how to *hide* the main form at startup, and also
> it from the win95 task bar. If anyone knows this and can share some code,
> I'd be extremely grateful.

> Thanks.

To hide the MainForm and remove it from then Win95 task bar
when then application startup, you have to add

Application.ShowMainForm := false;

on then Create event of your main form. Use "Show" for display then form