I've discovered that public void ShowBalloonTip(string message, NotifyIconBalloonIconFlags icon)
{
ShowBalloonTip(message, icon, "", 100000);
}
Doesn't show show an icon at all when the title is blank, so i guess this function doesn't really make any sense. I've checked out the doc on the api: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/structures/notifyicondata.asp And it states clearly that dwInfoFlags
Version 5.0. Flags that can be set to add an icon to a balloon ToolTip. It is placed to the left of the title. If the szInfoTitle member is zero-length, the icon is not shown. Just thought I should mention this, that might help other people, anyway thanks for that great code. |