参考一下新出的‘程序员大本营‘。

解决方案 »

  1.   

    看看以前的贴子,类似的内容很多。此工作可分为两个部分:开机时自动运行+显示在托盘中。
      

  2.   

    很容易的,你自己搜索一下。以前很多人问过。
      

  3.   

    在注册表里的HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run里写
    个键植--你的程序名
    至于托盘
    在formcreate里写
    var
       notify:TNOTIFYICONDATA;
       temp_hint:string;
    begin
       temp_hint:='提示信息';
       with notify do
       begin
         cbsize:=sizeof(notify);
         wnd:=form1.handle;
         uid:=0;
         uflags:=Nif_message or NIF_ICon or NiF_TIP;
         ucallbackmessage:=wm_message;
         hicon:=application.icon.Handle;
         strPCopy(sztip,temp_hint);
       end;
       shell_notifyicon(NIM_ADD,@notify);
       showwindow(application.handle,sw_hide);
    end;
    给分吧