Any ideas on how to get the location of the tray (tray) or item on it (TrayItem) using SWT? Getting borders from the screen only gives me the whole screen. i.e
item.getDisplay().getBounds();
will provide me with (0, 0, 1024, 1024) in a windows window.
I would also like to know if the position of the system tray is (left, right, top, bottom), but you can probably guess, given the location. This is all so that I can display a message near the taskbar .
This is a duplicate of this post , but I want to offer generosity (and therefore control what I think is the right answer).
source
share