AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Tray Tips don't appear on top...

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
le-mec



Joined: 24 Dec 2006
Posts: 11

PostPosted: Fri Feb 09, 2007 12:12 am    Post subject: Tray Tips don't appear on top... Reply with quote

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
View user's profile Send private message
Thalon



Joined: 12 Jul 2005
Posts: 640

PostPosted: Fri Feb 09, 2007 7:48 am    Post subject: Reply with quote

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
View user's profile Send private message
Helpy
Guest





PostPosted: Fri Feb 09, 2007 9:56 am    Post subject: Reply with quote

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

PostPosted: Fri Feb 09, 2007 4:08 pm    Post subject: Reply with quote

Ah, it works great! Thanks a lot!
Back to top
View user's profile Send private message
le-mec



Joined: 24 Dec 2006
Posts: 11

PostPosted: Wed Jun 27, 2007 5:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
Helpy
Guest





PostPosted: Fri Jun 29, 2007 10:45 am    Post subject: Reply with quote

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

PostPosted: Fri Jun 29, 2007 5:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group