"always on top" question

well i made an object, and i place it close to the taskbar. so, when i click the taskbar for some reason the object hides ( behind the taskbar ). i tried the "always on top" option but doesnt work

so what can i do? for this thing sets over all windows, even the taskbar?
3,278 views 10 replies
Reply #1 Top
Always ontop should work. So maybe you need to check your taskbar settings.. Click on taskbar and choose properties.. The only things I have checked are lock taskbar, group similar taskbar buttons, show clock, hide inactive icons. But it's up to you what to check. Good luck..  
Reply #2 Top
The taskbar is also an always on top window which is why it will appear over the object.  This is normal.
Reply #3 Top

yeh but exists some solution ?
Reply #4 Top
When two objects compete for "Always-on-top", they behave as normal windows, in a sense. The last one activated, or focused, will be on top.

If you want a widget to be Always-on-top not only of windows, but of other widgets, the taskbar, ObjectBars, and so on, I know of only one workaround.

In your script set a timer, and however often (2-4 x a Sec should be good) you want, recall the Object.OnTop. You can see an example in THBtB
Reply #5 Top
oh, but i dont know nothing about scripts =S
Reply #6 Top
Right-click your taskbar and select Properties. Uncheck the "Keep the taskbar on top of other windows" box. Now your widget will stay on top of the taskbar.
Reply #7 Top
Right-click your taskbar and select Properties. Uncheck the "Keep the taskbar on top of other windows" box. Now your widget will stay on top of the taskbar.


but that will hide the taskbar when you maximize a window, i wanna try the way of Rabidrobot, but i dont know how =/

Reply #8 Top
Insert the following into the relevant script parts of your object

Sub Object_OnScriptEnter
Object.SetTimer 666,2000
End Sub

Sub Object_OnTimer666
Object.OnTop
End Sub

This is just a code version of what rapid robot stated above (I think). As with all my code suggestions, this is 'code in theory'. It might not actually work.
Reply #9 Top
Yep. blajano actually contacted me through email, and that is essentially the exact sample I gave him. Don't forget a


' Called when the script is terminated
Sub Object_OnScriptExit
' Clean up on exit
Object.KillTimer 666
End Sub


Reply #10 Top
thanks everyone, now its works