[Gambas-user] Creating a balloon pointing at a tray icon

Bruce Steers bsteers4 at gmail.com
Tue Oct 26 16:12:54 CEST 2021

On Mon, 25 Oct 2021 at 13:43, Benoît Minisini <g4mba5 at gmail.com> wrote:

> Le 25/10/2021 à 12:14, Cristiano Guadagnino a écrit :
> > Hi Benoit,
> > is it possible to create a balloon pointing at a tray icon?
> > When I try to do it, I get a message saying "Type not corresponding:
> > looking for Control, found TrayIcon" (approximately... I am translating
> > from Italian).
> > However, looking at the "control" class I see that everything derives
> > from "control", except the "menu" class. So TrayIcon should be derived
> > from "control" too.
> > It it a bug?
> >
> > Attached you see a screenshot of the message.
> >
> > Thank you in advance
> > Cris
> >
> Not really. The system tray is now entirely controlled by the desktop.
> You can just give an icon, a menu, and a text, and the desktop does what
> it wants with that.
> Regards,
> --
> Benoît Minisini

Just getting the x/y co-ords of the icon would be very useful, is it not

i've wanted to know if the icon was top or bottom of screen so a pop up
window would be placed correctly.
It would also work for balloons as x.y could be given.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20211026/48ce2c6b/attachment.htm>

More information about the User mailing list