...I forgot some examples: // Setup tray icon. ::SetTrayIcon(this, WM_NOTIFYICON, NIM_ADD, m_uId_TrayIconActive, (LPCTSTR)GetBaloonInfo()); // Refresh baloon for tray icon. ::SetTrayIcon(this, WM_NOTIFYICON, NIM_MODIFY, m_uId_TrayIconActive, (LPCTSTR)GetBaloonInfo()); // Remove tray icon. ::SetTrayIcon(this, WM_NOTIFYICON, NIM_DELETE, m_uId_TrayIconActive); And you have: inline const bool SetTrayIcon( CWnd*, CONST DWORD, CONST DWORD, CONST UINT, LPCTSTR lpszTTTEx = _T(""), CONST UINT uId_CallbackEx = 0); Regards, Michael Mogensen, mm it-consult dk. ><((((º> ·.¸¸.· ><((((º> ·.¸¸.· ><((((º>