[fpc-pascal] RE: Atom like feature in FreePascal

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Fri Mar 24 12:56:45 CET 2006


Hello,

My advice about how to support this would be creating a class that has
Atom functions and implements them separetely on each platform.

So far we saw here that winapi and X11 have Atom functions. There is
probably something equivalent for Carbon on Mac OS X, you just need to
search Apple docs.

This is a case similar to TTrayIcon, because both components need a
separete implementation based on the OS, and not really per widgetset.
I mean, let's say you use gtk on windows, you will still want to
implement Atom function using the windows api, because x11 isn't
available there. (suposing gtk doesn't have atom functions)

thanks,
--
Felipe Monteiro de Carvalho



More information about the fpc-pascal mailing list