Sign in to follow this  
Followers 0
sjorrel

window on top and hiding notifications

2 posts in this topic

#1 ·  Posted (edited)

I'm making a screensaver and its largely done however there are a couple of niggles.

1. How can I prevent a taskbar icon from being created? Its not a major problem but it would be more 'screensavery' if the taskbar icon didn't appear at all.

2. Even though I've used $WS_EX_TOPMOST for the GUI notifications from other software (particularly traytips) still pop up and are visible when it is running. Any way of stopping that?

Thanks

Edited by sjorrel

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

1. #NoTrayIcon should make your systemtray icon not appear.

2. Hide the taskbar.

Opt('WinTitleMatchMode', 4)
BlockInput(1)
Sleep(2000)
WinSetState('Classname=Shell_TrayWnd', '', @SW_HIDE)
BlockInput(0)
; Running screensaver
Sleep(10000)
WinSetState('Classname=Shell_TrayWnd', '', @SW_SHOW)
Edited by MHz

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0