Hi!
Habe mal bei Google gesucht und gefunden.
Leider weiß ich noch nicht was die Befehle bedeuten, und habe ne Constante(so glaube ich das es eine ist

)
Die nicht definiert ist.
So kann ich auch nicht wissen wie sie heissen muss
Delphi-Quelltext
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15:
| procedure TForm1.FormShow(Sender: TObject); var NotifyIconData: TNotifyIconData; begin Fillchar(NotifyIconData,Sizeof(NotifyIconData),0); NotifyIconData.cbSize := Sizeof(NotifyIconData); NotifyIconData.Wnd := Handle; NotifyIconData.uFlags := NIF_MESSAGE or NIF_ICON or NIF_TIP; NotifyIconData.uCallbackMessage := WM_TASKABAREVENT; NotifyIconData.hIcon := Application.Icon.Handle; NotifyIconData.szTip := 'Hinweistext für das TrayIcon'; Shell_NotifyIcon(NIM_ADD, @NotifyIconData); end; |
Wo's nix zu gucken gibt, gibts vielleicht was zu hören.