| View previous topic :: View next topic |
| Author |
Message |
le-mec
Joined: 24 Dec 2006 Posts: 11
|
Posted: Fri Feb 09, 2007 12:12 am Post subject: Tray Tips don't appear on top... |
|
|
| For some odd reason, when I call a traytip, it shows, but it winds up hidden underneath application windows on the screen. |
|
| Back to top |
|
 |
Thalon
Joined: 12 Jul 2005 Posts: 640
|
Posted: Fri Feb 09, 2007 7:48 am Post subject: |
|
|
I do have this problem sometimes with traytips shown by OS. Then they are behind the tasklist.
This behaviour changes during runtime of my XP.... _________________ AHK-Icon-Changer
AHK-IRC
deutsches Forum
SacredVault |
|
| Back to top |
|
 |
Helpy Guest
|
Posted: Fri Feb 09, 2007 9:56 am Post subject: |
|
|
Same for me, I even made a hotkey to correct this (rare) problem:
| Code: | | WinSet AlwaysOnTop, , ahk_class Shell_TrayWnd | Solution found somewhere on this forum.
This is not a AHK bug so it doesn't belong to this section. |
|
| Back to top |
|
 |
le-mec
Joined: 24 Dec 2006 Posts: 11
|
Posted: Fri Feb 09, 2007 4:08 pm Post subject: |
|
|
| Ah, it works great! Thanks a lot! |
|
| Back to top |
|
 |
le-mec
Joined: 24 Dec 2006 Posts: 11
|
Posted: Wed Jun 27, 2007 5:33 pm Post subject: |
|
|
| Code: | | WinSet AlwaysOnTop, On, ahk_class Shell_TrayWnd |
Um, and for Windows XP it's:
| Code: | | WinSet AlwaysOnTop, On, ahk_class tooltips_class32 |
I just noticed... you have to make it say "ON" otherwise it will default to "toggling" the AlwaysOnTop flag.
| Autohotkey Manual -- WinGet wrote: | | AlwaysOnTop, [On|Off|Toggle]: Makes a window stay on top of all other windows. Use ON to turn on the setting, OFF to turn it off, or TOGGLE to set it to the opposite of its current state. If omitted, it defaults to TOGGLE. The word Topmost can be used in place of AlwaysOnTop. |
|
|
| Back to top |
|
 |
Helpy Guest
|
Posted: Fri Jun 29, 2007 10:45 am Post subject: |
|
|
No.
The code I gave works on XP. Frankly, I don't know why it works. But it is more logical than your solution, as it acts on the existing notification area, while your code acts on some random tooltip, if present... |
|
| Back to top |
|
 |
le-mec
Joined: 24 Dec 2006 Posts: 11
|
Posted: Fri Jun 29, 2007 5:47 pm Post subject: |
|
|
My taskbar is not set to "display on top of other windows".
Now I've started to notice that invoking the "Winset AlwaysOnTop" doesn't consistently work -- so I've made a new TrayTip calling function that invokes the WinSet function in addition to popping up a new traytip.
| Code: | SUB_TrayTip(Title, Message, Timer = 3, Options = 1)
{
TimerMsec := Timer * 1000
TrayTip,%Title%,%Message%,%Timer%,%Options%
WinSet AlwaysOnTop, On, ahk_class tooltips_class32
setTimer, SUB_removeTrayTip,%TimerMSec%
} |
|
|
| Back to top |
|
 |
|