Re: [lazarus] Icon property of TTrayicon in win32 patch

2006-03-10 Thread Christian U.
1, 2006 12:24 AM Subject: Re: [lazarus] Icon property of TTrayicon in win32 patch Hello Christian, First I would like to thank you for your effort into creating the patch and helping us improve Lazarus. However, I (and the lazarus developers) feel that it would be better if we implement a proper

Re: [lazarus] Icon property of TTrayicon in win32 patch

2006-03-10 Thread Felipe Monteiro de Carvalho
Hello Christian, First I would like to thank you for your effort into creating the patch and helping us improve Lazarus. However, I (and the lazarus developers) feel that it would be better if we implement a proper TIcon instead of adding a work around the current TIcon problems on components. W

Re: [lazarus] Icon property of TTrayicon in win32 patch

2006-03-10 Thread Felipe Monteiro de Carvalho
Mattias, Vincent, what is your oppinion about this? thanks, -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.o

Re: [lazarus] Icon property of TTrayicon in win32 patch

2006-03-06 Thread Christian U.
http://koders.com/delphi/fid75A2287D0532C92AEA0BAD9E89388BD1DC501DE9.aspx?s=Tcolor This code sample uses win32 ImageList with is not implemented in lazarus _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubsc

Re: [lazarus] Icon property of TTrayicon in win32 patch

2006-03-06 Thread listas
take a look at this: http://koders.com/delphi/fid75A2287D0532C92AEA0BAD9E89388BD1DC501DE9.aspx?s=Tcolor _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus

Re: [lazarus] Icon property of TTrayicon in win32 patch

2006-03-06 Thread Mattias Gaertner
On Mon, 6 Mar 2006 06:24:51 +0100 "Christian U." <[EMAIL PROTECTED]> wrote: > > On 3/5/06, Christian U. <[EMAIL PROTECTED]> wrote: > >> 1. a real TIcon will never be implemented becouse no os than win32 > >> supports > >> icons > > > > I think this isn´t true. Qt supports icons, there is even a Q

Re: [lazarus] Icon property of TTrayicon in win32 patch

2006-03-05 Thread Christian U.
On 3/5/06, Christian U. <[EMAIL PROTECTED]> wrote: 1. a real TIcon will never be implemented becouse no os than win32 supports icons I think this isn´t true. Qt supports icons, there is even a QIcon Qt object, and Mac OS loves icons. what i mean is, that the native icon format isnt the same

Re: [lazarus] Icon property of TTrayicon in win32 patch

2006-03-05 Thread Felipe Monteiro de Carvalho
On 3/5/06, Christian U. <[EMAIL PROTECTED]> wrote: > 1. a real TIcon will never be implemented becouse no os than win32 supports > icons I think this isn´t true. Qt supports icons, there is even a QIcon Qt object, and Mac OS loves icons. This is not a reason not to implement TIcon. The ideal worl

Re: [lazarus] Icon property of TTrayicon in win32 patch

2006-03-05 Thread Christian U.
Where in the patch is this code? I cannot find this Maybe you forgot to include modifications to wswin32tryicon.pas to the patch? Also this kind of modification will have to be reverted when a real TIcon is implemented. 1. a real TIcon will never be implemented becouse no os than win32

Re: [lazarus] Icon property of TTrayicon in win32 patch

2006-03-05 Thread Felipe Monteiro de Carvalho
On 3/5/06, Christian U. <[EMAIL PROTECTED]> wrote: > TTrayicon needs an real Win32 icon handle to show an icon in win32. > This patch generates an HICON from TBitmap (Lazarus uses internaly TBitam as > TIcon) > > so until now you had to override Icon.handle to show an icon in win32. > now you musnt

Re: [lazarus] Icon property of TTrayicon in win32 patch

2006-03-05 Thread Christian U.
It is a good patch and probably should be applied, but what part of it adds support for Icon property in win32?? That is already implemented. What isn´t working is the TIcon object and not TrayIcon component. TTrayicon needs an real Win32 icon handle to show an icon in win32. This patch generat

Re: [lazarus] Icon property of TTrayicon in win32 patch

2006-03-05 Thread Felipe Monteiro de Carvalho
On 3/5/06, Christian U. <[EMAIL PROTECTED]> wrote: > This patch adds support for the Icon property in win32. It is a good patch and probably should be applied, but what part of it adds support for Icon property in win32?? That is already implemented. What isn´t working is the TIcon object and not

[lazarus] Icon property of TTrayicon in win32 patch

2006-03-05 Thread Christian U.
This patch adds support for the Icon property in win32. At time no Transparency works, but the Bitmap from the Icon Property is shown as Trayicon I havend tryed yet to generate the icon from TLazIntfImage, maybe this works better for getting Transparency regards Christian trayicon.dif