Lines Matching refs:nim
1874 void CLeashView::SetTrayText(int nim, CString tip) in SetTrayText() argument
1876 if ( (nim == NIM_MODIFY) && (m_bIconDeleted) ) in SetTrayText()
1878 if ( (nim == NIM_MODIFY) && (!m_bIconAdded) ) in SetTrayText()
1879 nim = NIM_ADD; in SetTrayText()
1881 if ( (nim != NIM_DELETE) || IsWindow(m_hWnd) ) in SetTrayText()
1892 Shell_NotifyIcon (nim, &nid); in SetTrayText()
1895 if ( nim == NIM_ADD ) in SetTrayText()
1897 if ( nim == NIM_DELETE ) in SetTrayText()
1901 void CLeashView::SetTrayIcon(int nim, int state) in SetTrayIcon() argument
1906 if ( (nim == NIM_MODIFY) && (m_bIconDeleted) ) in SetTrayIcon()
1908 if ( (nim == NIM_MODIFY) && (!m_bIconAdded) ) in SetTrayIcon()
1909 nim = NIM_ADD; in SetTrayIcon()
1911 if ( (nim != NIM_DELETE) || IsWindow(m_hWnd) ) in SetTrayIcon()
1931 Shell_NotifyIcon (nim, &nid); in SetTrayIcon()
1934 if ( nim == NIM_ADD ) in SetTrayIcon()
1936 if ( nim == NIM_DELETE ) in SetTrayIcon()