Re: [lazarus] Tips for trayicon

2007-04-02 Thread Razvan Adrian Bogdan
trayIcon1.Hide; trayIcon1.Show; Maybe this is the problem ? _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

[lazarus] Tips for trayicon

2007-04-01 Thread Carlos Avogaro
Hi every body, I'm trying to animated the trayicon, this is what I do: procedure TForm1.Timer1Timer(Sender: TObject); begin Inc(cuentaIcon); trayIcon1.Icon.Handle := LoadIcon(hInstance, MAKEINTRESOURCE( cuentaIcon )); trayIcon1.Hide; trayIcon1.Show; if cuentaIcon = 104 then