I understand it and i got what i wanted now but still dont get the whole picture
Delphi-Quellcode:
trayicondata.Wnd:=hwndtoolbar;
//<<< toolbarwindow32 handle
trayicondata.uID:=4;
// <<< i got this solved this is id of icon in tray
trayicondata.cbSize:=sizeof(TrayIconData);
TrayIconData.uFlags:=NIF_MESSAGE + NIF_ICON + NIF_TIP;
//is this even nessesary?
TrayIconData.hIcon:=
//how to extract this?