my system tray icon's tooltip is not updating.
Posted on 2000-03-19
I'm using a system tray icon. I can add the icon to the tray just fine and whatever nid.szTip was set to show up just dandy as the tooltip.
I would like the tooltip to change. I've tried changing nid.szTip and then calling Shell_NotifyIcon(NIM_MODIFY, nid), which is set to
Public Declare Function Shell_NotifyIcon Lib "SHELL32" _
(ByVal dwMessage As Long, pnid As NOTIFYICONDATA) As Boolean
Public Const NIM_MODIFY = &H1
What am I doing wrong here?
Removing the icon works fine too.