On Sunday 24 April 2016 15:53:58 Krzysztof wrote:
> Hi Martin,
>
> Two questions:
> 1. How to make trayicon transparent? Changed all found color
> properties to cl_transparent but it is still gray

The background can be set by TTrayIcon.color, face and frame. TTrayIcon is a 
window with a window handle like a toplevel window. MSEgui does not support 
transparent windows with a window handle. I suggest to use a cl_ltgray to 
cl_gray colourgradient background which harmonises well with most 
environments.

> 2. Is it possible to retrieve tray area size at runtime?
> TTrayWidget.size is widget size and TTrayWidget.icon.size is 0. I'm
> creating icon at runtime from font awesome, so knowing tray area size
> I could create fitting icon. IIRC in KDE it is 24x24, GNOME 22x22 and
> windows 16x16
>
TTrayIcon.Width should return that information.

Martin

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to