>my $ni = $Window->AddNotifyIcon(
> -name => "NI",
> -id => 1,
> -icon => $icon,
> -tip => "Scheduler Status Unknown"
>);
>
> $tip =
> 'llllllllllllllllllllllllllllllllllllllllllllllllllllllllllll333634';
> print length $tip;
>
I do not know about the character limit, however, when I first started playing
with changing tips, I *HAD* to included the id to get it to work.
Try changing this
> $Window->NI->Modify( -tip => $tip); # line 30
to this :
$Window->NI->Modify( -id => 1, -tip => "Something" ); # or whatever -id is set
to
I hope this helps. I checked the web (google for "notify Icon") and found what
a site that has the struct:
2 ) NOTIFYICONDATA structure
typedef struct _NOTIFYICONDATA {
DWORD cbSize;
HWND hWnd;
UINT uID;
UINT uFlags;
UINT uCallbackMessage;
HICON hIcon;
char szTip[64];
} NOTIFYICONDATA, *PNOTIFYICONDATA;
And yes, it appears from the last entry (char szTip[64]) that the limit is 64
characters (or is the 65 if you include position 0?)
Joe