On Tue, 17 Jan 2006 09:55:12 -0200
Felipe Monteiro de Carvalho <[EMAIL PROTECTED]> wrote:
> A.J. Venter wrote:
> > Hi Felipe,
> > Thank you for this, something I've been VERY much wanting in lazarus was
> >
> > trayicon support.
>
> You are Welcome =)
>
> Acctually, this was a preview witch should have only being sent to
> Andrew. I took the address from an old talk we had, but that talk was on
> the mailling list, so I end up sending the component to everyone!
>
> You guys should wait a official stable release in about 1 or 2 days =)
>
> It works well with Windows and Gtk1. Now I am working on Gtk2 support.
>
> I won't create carbon support at this time, but it is built expecting a
> Mac OS X.
>
> > A few quick questions though
> > 1) Is it a component ? Visual ? Nonvisual ? I admit I've only had a
> > cursory glance at your sources, not a sufficient study yet.
>
> You realle should not derive or instantiate the non-visual component,
> use the SystrayIcon object instead. It is automatically created on
> program startup, and this approach is required for future Mac OS X
> support. The object is also Delphi-Compatible.
>
> I visual wrapper around the object can be easely built.
>
> > 2) Is there a README or a short howto available ?
>
> I am working on a wiki page now.
>
> > Thanks. I created a package TrayIconLaz.lpk and added it to svn.
>
> ummm ..... I really would have prefered to wait a little =)
>
> I have much newer code on my PC, and the Licensing stuff is also
> missing. The component is Modifyed-LGPL.
I guessed so. See the lazarus svn.
> I also want to ship it with
> Gtk2 support.
>
> There are some things witch must be taken care of. You can't just
> register TTrayIcon because of Mac OS X future support. The visual
> component must be a wrapper around the SystrayIcon object.
I don't see, what registering a class has to do with. Maybe your
initialization section is too automatic?
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives