++m_nCurrentIconIndex;
m_nCurrentIconIndex = m_nCurrentIconIndex % m_nNumIcons; //update the tray icon
m_pTrayIcon->m_NotifyIconData.uFlags = NIF_ICON;
m_pTrayIcon->m_NotifyIconData.hIcon = m_phIcons[m_nCurrentIconIndex];
BOOL bl=Shell_NotifyIcon(NIM_MODIFY, &m_pTrayIcon->m_NotifyIconData);
m_nCurrentIconIndex = m_nCurrentIconIndex % m_nNumIcons; //update the tray icon
m_pTrayIcon->m_NotifyIconData.uFlags = NIF_ICON;
m_pTrayIcon->m_NotifyIconData.hIcon = m_phIcons[m_nCurrentIconIndex];
BOOL bl=Shell_NotifyIcon(NIM_MODIFY, &m_pTrayIcon->m_NotifyIconData);
神阿救救我吧!