Home » U++ Library support » TopWindow&PopUp, TrayIcon » Linux TrayIcon menu improvement
Linux TrayIcon menu improvement [message #14340] |
Fri, 22 February 2008 22:55  |
bytefield
Messages: 210 Registered: December 2007
|
Experienced Member |
|
|
Hi. I saw the tray icon menu in Linux is showed in mouse position (like in Windows), and guess it must be on left-bottom side of tray icon. So i made these changes to sources:
TrayIconX11.cpp, line 166
MenuBar::Execute(this, THISBACK(DoMenu), Point(GetRect().left, GetRect().bottom));
Guess it is normal behavior, like others applications does(in Linux). Hope i don't wrong. Here it work well.
cdabbd745f1234c2751ee1f932d1dd75
[Updated on: Fri, 22 February 2008 22:56] Report message to a moderator
|
|
|
|
Re: Linux TrayIcon menu improvement [message #14347 is a reply to message #14345] |
Sat, 23 February 2008 09:36  |
bytefield
Messages: 210 Registered: December 2007
|
Experienced Member |
|
|
Well, after a check-up it seems to be better let as it was.
If tray is in left, right or top it work well, but on bottom it doesn't. So is better let it unchanged, even it hasn't the same behavior as native applications.
cdabbd745f1234c2751ee1f932d1dd75
|
|
|
Goto Forum:
Current Time: Sat Apr 26 14:23:47 CEST 2025
Total time taken to generate the page: 0.00795 seconds
|