Re: [Lazarus] Trayicon troubles

2008-12-09 Thread Felipe Monteiro de Carvalho
On Tue, Dec 9, 2008 at 6:07 PM, Sebastian Kraft [EMAIL PROTECTED] wrote: 1. is it possible to have a trayicon with transparent background? I created the icon from a png where the background was transparent but the icon in the panel shows a grey back. Which fpc, laz and os version? 2. How can

Re: [Lazarus] Trayicon troubles

2008-12-09 Thread Felipe Monteiro de Carvalho
On Tue, Dec 9, 2008 at 7:03 PM, Felipe Monteiro de Carvalho I think that GetPosition isn't implemented in all platforms. Test it. Actually it is implemented for gtk2 and win32, so it should work. -- Felipe Monteiro de Carvalho ___ Lazarus mailing

Re: [Lazarus] Trayicon troubles

2008-12-09 Thread Andrew Haines
Felipe Monteiro de Carvalho wrote: On Tue, Dec 9, 2008 at 7:03 PM, Felipe Monteiro de Carvalho I think that GetPosition isn't implemented in all platforms. Test it. Actually it is implemented for gtk2 and win32, so it should work. I just implemented

Re: [Lazarus] Trayicon troubles

2008-12-09 Thread Felipe Monteiro de Carvalho
Well, your implementation doesn't work in my system (KDE 3.5), while the previous one does. Unless there is a compeling argument to use the new implementation I propose to revert to the previous one. I appreciate your effort to quick implement the feature, but it was somewhat missguided. To

Re: [Lazarus] Trayicon troubles

2008-12-09 Thread Andrew Haines
Felipe Monteiro de Carvalho wrote: Well, your implementation doesn't work in my system (KDE 3.5), while the previous one does. Unless there is a compeling argument to use the new implementation I propose to revert to the previous one. I appreciate your effort to quick implement the feature,

Re: [Lazarus] Trayicon troubles

2008-12-09 Thread Andrew Haines
Felipe Monteiro de Carvalho wrote: Well ... this is already implemented in a cross-platform way in TCustomTrayIcon. The widgetset specific hint should only be implemented if there is a native ballon hint (my plan was to use it only for Windows XP) Any objections to my improving the

Re: [Lazarus] Trayicon troubles

2008-12-09 Thread Felipe Monteiro de Carvalho
On Tue, Dec 9, 2008 at 9:02 PM, Andrew Haines [EMAIL PROTECTED] wrote: Any objections to my improving the current balloon a bit? I see some issues with text that is too long. Also an indicator of the time left before it closes might be nice. Not at all, fell free to improve it =) I beliave it