NOTIFYICONDATA nid={0}; nid.cbSize = sizeof(NOTIFYICONDATA); nid.hWnd = hWnd; nid.uID = 1; //your num Shell_NotifyIcon( NIM_DELETE, &nid);
::Shell_NotifyIcon(NIM_REMOVE, &address_of_oldicon);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)